/subscope:subscope-setupfrom subscope
Reconfigures individual subscope settings after onboarding: LLM provider, destination (Notion/Slack/Obsidian), or credentials. Skips full re-onboarding.
Ships in subscope. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Reconfiguration tool for an already-onboarded subscope install. For first-run, route the user to /subscope-onboard instead. The 6 steps below are now individually addressable: ask the user which one they want to change before walking the whole flow.
Let an existing user change one piece of their config without re-doing the whole onboarding.
First, check whether the user has already onboarded:
[ -f ~/.config/subscope/subreddits.yml ] && echo "ONBOARDED" || echo "NOT_ONBOARDED"
If NOT_ONBOARDED: redirect to /subscope-onboard and stop. Do not run the steps below for a new install.
If ONBOARDED: ask which piece they want to change:
What do you want to reconfigure?
- LLM provider (add or swap)
- Targeting (re-pick preset, or re-run /subscope-onboard for full re-do)
- Notion database
- Slack webhook
- Obsidian vault
Pick a number, or type "all" to walk every step.
Then jump to that step only. Each step is independent.
Tell the user:
subscope has three classification tiers:
- Default: regex-only gate, zero cost, no API key needed.
- Interactive:
/subscope-judge <surface-id>uses your Claude Code subscription, free.- Bulk LLM: any OpenAI-compatible provider (Anthropic, OpenAI, Groq, OpenRouter, Together, local Ollama). ~$0.50/day at 5K posts.
Want to enable the bulk-LLM tier? (yes / skip)
If yes, the user sets one env var (LLM_API_KEY, or legacy ANTHROPIC_API_KEY / OPENAI_API_KEY). The base URL is auto-detected from the key prefix (sk-ant- → Anthropic /openai/v1, sk-or- → OpenRouter, gsk_ → Groq, else OpenAI). For local Ollama or a custom endpoint, also set LLM_BASE_URL.
To lock the preference, write a minimal ~/.config/subscope/llm.json:
{"provider": "openai_compatible"}
Test the resolved config (this will also fail loudly if LLM_BASE_URL targets a private IP — the SSRF guard is intentional):
cd "$CLAUDE_PLUGIN_ROOT" && PYTHONPATH=engine python3 -c "
from subscope.lib import classify
import json
print(json.dumps(classify.status(), indent=2))
"
If skip: write {"provider": "disabled"} to make the choice explicit.
Don't pick a preset directly here. Tell the user:
Targeting works best with 3 quick questions — /subscope-onboard takes about 60 seconds and produces a config tuned to your specific work, not a generic lane. Recommended for almost everyone.
If you really want the 30-second generic lane: type
presetand I'll show the 4 options.
If user opts for /subscope-onboard: invoke it. The onboard skill handles preset escape internally (/subscope-onboard preset) for users who type preset mid-flow.
If user explicitly wants preset here in setup (rare), show the 4 options + copy chosen preset to ~/.config/subscope/. But default is route to onboard.
Research backing (Phase 9.5 validation): generic preset alone produces 3/10 ICP-match per surface. The 3-question routing pushes it to 5-7/10. Don't deprive the user of that lift unless they explicitly opt out.
Ask the user (this question is non-skippable, but every choice is valid):
How do you want to see your daily surfaces? a) Inline table in Claude Code chat (default, no setup, click links from chat) b) Notion database (5-min setup, persistent triage across devices, queryable views) c) Both (table rendered in chat AND synced to Notion) d) Skip (engine prints JSON only — for piping to your own tools)
Translate the choice to the surface.yml config:
# Pick ONE based on user's answer
MODES="[table]" # (a) default
MODES="[notion]" # (b)
MODES="[table, notion]" # (c)
MODES="[]" # (d)
cd "$CLAUDE_PLUGIN_ROOT" && cat <<EOF | PYTHONPATH=engine python3 -m scripts.write_surface_config
modes: $MODES
default_render: table
EOF
If the user picked (b) or (c), continue to Step 3b (Notion setup) below. Otherwise skip Step 3b and continue to Step 4 (Obsidian).
If yes:
NOTION_API_KEY=$KEY inline on the command line — the secret would land in /proc//environ, ps output, and shell history). Use the atomic helper:cd "$CLAUDE_PLUGIN_ROOT" && cat <<EOF | PYTHONPATH=engine python3 -m scripts.write_notion_config
api_key: $NOTION_API_KEY
database_id: $NOTION_DB_ID
EOF
The helper writes to ~/.config/subscope/notion.yml with chmod 600 from the moment the file appears (atomic, no umask race).
cd "$CLAUDE_PLUGIN_ROOT" && PYTHONPATH=engine python3 engine/scripts/notion_admin.py migrate --dry-run
cd "$CLAUDE_PLUGIN_ROOT" && PYTHONPATH=engine python3 engine/scripts/notion_admin.py migrate
Ask:
Want weekly pulse digests written to your Obsidian vault? (yes / skip)
If yes:
subscope).[ -d "$VAULT_PATH" ] && echo "OK" || echo "MISSING"
If OK, write ~/.config/subscope/obsidian.yml:
vault_path: /Users/you/Documents/MyVault
pulse_folder: subscope
Now run the full pipeline once in dry mode to make sure everything works:
cd "$CLAUDE_PLUGIN_ROOT" && PYTHONPATH=engine python3 -m subscope.cli status
Then a real, very-limited daily run:
cd "$CLAUDE_PLUGIN_ROOT" && PYTHONPATH=engine python3 -m subscope.cli fetch-score --limit-per-sub 3 --daily-cap 3
Translate the output to a green-check checklist:
Setup complete:
✓ LLM provider: <provider>
✓ Preset: <name>
✓ Notion: <yes/skip>
✓ Obsidian: <yes/skip>
✓ Dry-run surfaced N posts (limit=3 per sub)
You're ready. Run /subscope-run for a real daily scan.
If any check fails, surface the failure clearly and suggest the fix.
Setup is idempotent. Re-running detects existing config and skips configured steps. To re-configure a single step, delete the relevant file:
| Step | File |
|---|---|
| LLM | ~/.config/subscope/llm.json |
| Preset | ~/.config/subscope/subreddits.yml + keywords.yml |
| Notion | ~/.config/subscope/notion.yml |
| Obsidian | ~/.config/subscope/obsidian.yml |
| DataForSEO | ~/.config/subscope/dataforseo.yml |
| Firecrawl | ~/.config/subscope/firecrawl.yml |
~/.config/subscope/*.json with chmod 600. Never echo them in chat.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
subscope, reconfiguration, llm-provider, credentials, destination
Generated from the plugin's indexed repository (dancolta/subscope) — no native marketplace selected
npx claudepluginhub p/dancolta-subscope15 skills in this plugin
/subscope-build-vs-buySurface explicit build-vs-buy debate threads with numeric arguments (engineering hours, TCO, payback). OP is rationalizing the decision publicly — your worldview is the answer. Triggers on "build vs buy", "/subscope-build-vs-buy", "find build-vs-buy debates", "in-house vs SaaS", "make-or-buy decisions"./subscope-churnSurface high-intent Reddit posts where someone explicitly says they are canceling, switching from, or fed up with a named SaaS vendor. Pure buying intent. Triggers on "churn signals", "/subscope-churn", "find churn posts", "who's canceling", "switching from posts", "churn-signals scan"./subscope-judgeInteractive classifier for a single Reddit surface. Reads one post by surface ID (or pasted URL/title/body), runs the bulk-classifier prompt against it, and returns a verdict + reply angle. Uses your Claude Code subscription, NOT a separate API key — costs nothing extra beyond what you already pay. Triggers on "judge surface 3", "classify postOther plugins' skills for the same job