Documentation Index
Fetch the complete documentation index at: https://api.alphainsider.com/llms.txt
Use this file to discover all available pages before exploring further.
Using the AlphaInsider Skill
skill.md is a single markdown file that teaches AI coding assistants how to use the AlphaInsider API — including the display rules, order decision matrix, WebSocket channels, and auth flow. Install it once, reference it in prompts.
The canonical, always-up-to-date copy lives at https://api.alphainsider.com/skill.md.
1. Install the skill
Install via theskills CLI — it detects which AI tools you have installed and drops skill.md into the correct folder for each (Claude, Cursor, Codex, and more). Works the same on macOS, Linux, and Windows.
npx runs the CLI without a global install. Requires Node.js 18+.
2. Set your API key (and optional scoping IDs)
Generate a JWT at alphainsider.com/settings/developers with the scopes you need (e.g.newOrder, getUserInfo).
Put it in a .env file in the directory your agent runs from:
dotenv / os.getenv / process.env — never hardcode them.
3. Reference it in prompts
Most tools auto-discover a skill once it’s in the right folder. When in doubt, mention it explicitly.| Tool | How to use it |
|---|---|
| Claude | Auto-indexed from project root or ~/.claude/skills/. Or @skill.md. |
| Cursor | Auto-indexed from project root or ~/.cursor/skills/. Or @skill.md. |
| Codex | Auto-indexed from project root or ~/.codex/skills/. Or @skill.md. |
| Generic CLI | Keep skill.md in the working dir and reference it: codex "using skill.md, ...". Or pipe it: cat skill.md | <cli>. |
4. Keep it fresh
Update the skill any time to pull new endpoints and updated rules — it overwrites the existingskill.md:
Troubleshooting
- Agent ignores the skill — reference it explicitly in the prompt (“follow the rules in skill.md”) and make sure the file is in the project root or the tool’s skills folder.
- Numbers look wrong (e.g.
1.05instead of$105,000) — the agent didn’t apply the Display Rule. Remind it: “useinput_multiplierfromgetStrategySubscriptionsfor USD, or percent fallback if null — never rawstrategy_value”. - Auth errors — check
echo $ALPHAINSIDER_API_KEY | cut -c1-20. ThenPOST /verifyTokenwith the token. - 429 rate limit — see the Limits table in skill.md §9 and back off.
Where to go next
- Full interactive docs & OpenAPI explorer: api.alphainsider.com
- Trading examples (deep dive): trading-examples
- WebSocket channels: websockets
- Account limits: limits