diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json new file mode 100644 index 0000000..7e45d1a --- /dev/null +++ b/.claude-plugin/marketplace.json @@ -0,0 +1,16 @@ +{ + "name": "last30days", + "owner": { + "name": "mvanhorn", + "url": "https://github.com/mvanhorn" + }, + "metadata": { + "description": "Research any topic from the last 30 days across Reddit, X, and the web" + }, + "plugins": [ + { + "name": "last30days", + "source": "." + } + ] +} diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json new file mode 100644 index 0000000..0e51d53 --- /dev/null +++ b/.claude-plugin/plugin.json @@ -0,0 +1,12 @@ +{ + "name": "last30days", + "description": "Research any topic from the last 30 days across Reddit, X, and the web", + "version": "2.0.0", + "author": { + "name": "mvanhorn" + }, + "repository": "https://github.com/mvanhorn/last30days-skill", + "license": "MIT", + "keywords": ["research", "reddit", "twitter", "x", "trends", "prompts"], + "skills": ["./"] +} diff --git a/SKILL.md b/SKILL.md index 166d75c..954bf72 100644 --- a/SKILL.md +++ b/SKILL.md @@ -58,7 +58,7 @@ This text MUST appear before you call any tools. It confirms to the user that yo **Step 1: Run the research script** ```bash -python3 ~/.claude/skills/last30days/scripts/last30days.py "$ARGUMENTS" --emit=compact 2>&1 +python3 "${CLAUDE_PLUGIN_ROOT:-$HOME/.claude/skills/last30days}/scripts/last30days.py" "$ARGUMENTS" --emit=compact 2>&1 ``` The script will automatically: