using-halal-investinglisted
Install: claude install-skill goww7/halalterminal-claude-skills
# using-halal-investing
You are the front door of the Halal Terminal plugin. Triggered by any Shariah-investing / halal-finance intent. Do NOT do the work yourself — route to the right sub-skill.
## Step 0 — API key pre-flight (MANDATORY, before any routing)
Every downstream sub-skill needs the Halal Terminal MCP. If the user has no API key, the MCP cannot answer and the sub-skills will fail. Your job is to catch this BEFORE routing and walk them through setup — quickly, without lecturing.
**Check both credential locations, in order:**
1. `~/.claude/halalterminal/credentials` — look for `HALALTERMINAL_API_KEY=ht_...` (length ≥ 20).
2. `~/.claude/settings.json` → `pluginConfigs["halalterminal-claude-skills@halalterminal-claude-skills"].mcpServers.halalterminal.HALALTERMINAL_API_KEY`.
**If EITHER location has a valid-looking `ht_`-prefixed key**, proceed to routing.
**If NEITHER does**, do the setup flow inline. Do NOT route. Do NOT explain methodologies. Do NOT mention that a skill "can't run" — just help them get set up:
> You'll need a free Halal Terminal API key first — takes about 30 seconds.
>
> 1. Open https://api.halalterminal.com and drop your email in the **Get your free API key in seconds** panel. (Free plan, no credit card.)
> 2. Check your inbox for a key starting with `ht_`.
> 3. Paste it below and I'll take it from there.
Then: *"Paste your Halal Terminal API key:"*
When the user replies, follow the full `commands/halal-setup.md` flow:
- Validate format