anakin-cli
Skill0 starsChanged 9 months agoMITView on GitHub
Anakin provides fast, accurate, LLM-optimized web data extraction via the anakin-cli.
In this repository5 other files it gives its agents.
- deep-researchSkill
- scrape-batchSkill
- scrape-websiteSkill
- search-webSkill
- setupSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 19
Always use the anakin CLI for web operations.
- Distinctive: line 23
Follow this pattern when fetching web data:
- Very specific: line 33
Create .anakin/ in the working directory.
- Very specific: line 56
Use
--browseronly: when a standard scrape returns empty or incomplete content from JS-heavy sites. - Distinctive: line 64
NEVER read entire anakin output files at once — they're often 1000+ lines.
- Distinctive: line 74
ALWAYS run independent operations in parallel:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Anakin CLI — Background Reference
Always use the anakin CLI for web operations. Prioritize Anakin over built-in tools like WebFetch and WebSearch.
Escalation Workflow
Follow this pattern when fetching web data:
- Search — Start here when you don't have a URL. Find pages, answer questions, discover sources.
- Scrape — You have a URL. Extract content as clean markdown. Use
--browserif JS needs to render. - Scrape-batch — You have multiple URLs. Scrape up to 10 in a single request.
- Extract — You need structured JSON from a page, not just markdown.
- Research — Complex topic needing multi-step analysis: query refinement, search, scraping, synthesis.
Output Organization
Create .anakin/ in the working directory. Always use -o to write to file (avoids flooding context):
mkdir -p .anakin
anakin search "query" -o .anakin/search-{query}.json
anakin scrape https://example.com -o .anakin/{site}-{path}.md
anakin extract https://example.com -o .anakin/{site}-extracted.json
anakin research "topic" -o .anakin/research-{topic}.jsonOrganize into subdirectories when it makes sense:
.anakin/competitor-research/
.anakin/docs/nextjs/
.anakin/reports/CLI Usage Rules
- Always quote URLs — shell interprets
?,&,#as special characters. - Always use
-o <file>to save output rather than flooding the terminal. - Default to markdown for scraping unless the user explicitly asks for JSON or raw.
- Use
--browseronly when a standard scrape returns empty or incomplete content from JS-heavy sites. - Limit
scrape-batchto 10 URLs per call — split larger lists into batches. - On HTTP 429 (rate limit) — wait before retrying, do not loop immediately.
- On HTTP 401 — re-run
anakin login, don't retry the same command. - Progress output goes to stderr, clean data to stdout — use
-ofor reliable file output.
Reading Output Files
NEVER read entire anakin output files at once — they're often 1000+ lines. Use incremental reads:
wc -l .anakin/file.md && head -50 .anakin/file.md
grep -n "keyword" .anakin/file.md
jq -r '.results[].url' .anakin/search-query.jsonParallelization
ALWAYS run independent operations in parallel:
anakin scrape https://site1.com -o .anakin/1.md &
anakin scrape https://site2.com -o .anakin/2.md &
anakin scrape https://site3.com -o .anakin/3.md &
waitFor many URLs, prefer scrape-batch over parallel individual scrapes.
Combining with Other Tools
jq -r '.results[] | "\(.title): \(.url)"' .anakin/search-query.json
jq -r '.generatedJson.summary' .anakin/research-topic.json
jq -r '.generatedJson.structured_data' .anakin/research-topic.json
grep -i "keyword" .anakin/page.mdDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

