cli-coingecko
Skill96 starsChanged 2 months agoMITView on GitHub
This skill is coordination-exempt: skip the ai-coord gate for its declared work. Use the installed CLI's machine-readable command catalog as the source of truth for supported market-data operations. Do not run interactive cg auth or write config without the user's approval. 2. On an explicitly requested CLI update, run cg update --dry-run, then cg update within that authorization. Ask only if the preview reveals an action beyond the requested update. If automatic detection is wrong, pass --method with homebrew, npm,…
In this repository47 other files it gives its agents.
- AGENTS.mdAGENTS.md
- toolkit/AGENTS.mdAGENTS.md
- agents-brainSkill
- agents-docsSkill
- agents-introspectionSkill
- ai-pruneSkill
- autoresearchSkill
- brainstormSkill
- chromium-browserSkill
- claude-handoffSkill
- cli-castSkill
- cli-ghSkill
- cli-justSkill
- codebase-designSkill
- code-polishSkill
- codex-handoffSkill
- commitSkill
- copy-transcript-pathSkill
- effect-tsSkill
- evm-atlasSkill
- fresh-eyes-sweepSkill
- frontend-designSkill
- git-squashSkill
- grill-meSkill
- html-debriefSkill
- html-playgroundSkill
- interview-meSkill
- large-file-refactorSkill
- naming-refactorSkill
- node-deps-bumperSkill
- pdfSkill
- release-bumperSkill
- repo-cross-pollinationSkill
- repo-harmonizationSkill
- repo-renameSkill
- skill-doctorSkill
- skill-harmonizationSkill
- skill-mapSkill
- skill-writingSkill
- spreadsheetsSkill
- tailwind-cssSkill
- task-handoffSkill
- todo-archiveSkill
- tool-finderSkill
- vitestSkill
- wrap-upSkill
- yeetSkill
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
- Distinctive: line 14
Use the installed CLI's machine-readable command catalog as the source of truth for supported market-data operations.
- Very specific: line 18
Verify cg exists and inspect non-interactive auth/tier state:
- Very specific: line 26
Do not run interactive cg auth or write config without the user's approval.
- Very specific: line 42
If a historical-data request cannot be completed because cg is unavailable, cg history fails due to a CLI defect, or its response is …
- Distinctive: line 55
Do not use the browser fallback for authentication, tier, rate-limit, invalid-input, or ambiguity errors.
- Distinctive: line 60
Never expose API keys or send private wallet/account data to market-data endpoints.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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
CoinGecko CLI
This skill is coordination-exempt: skip the ai-coord gate for its declared work.
Use the installed CLI's machine-readable command catalog as the source of truth for supported market-data operations.
Workflow
Verify
cgexists and inspect non-interactive auth/tier state:command -v cg cg status -o json cg commands -o jsonDo not run interactive
cg author write config without the user's approval.- On an explicitly requested CLI update, run
cg update --dry-run, thencg updatewithin that authorization. Ask only if the preview reveals an action beyond the requested update. If automatic detection is wrong, pass--methodwithhomebrew,npm,go, orscript. Recheckcg versionandcg commands -o json, then record the verified version inreferences/version.txtwhen maintaining this skill. - Select the command, flags, enum values, output formats, endpoint, auth requirement, and
paid_onlystatus fromcg commands -o json. Usecg <command> --helponly when the catalog lacks a needed detail. - Resolve CoinGecko IDs with
cg search <term> -o jsonwhen the user supplied a name or ambiguous symbol. Do not silently treat symbols as unique. - Preview unfamiliar or quota-sensitive requests with
--dry-run. Execute parseable queries with-o json; use--exportonly when the user requested a CSV artifact. - If a historical-data request cannot be completed because
cgis unavailable,cg historyfails due to a CLI defect, or its response is demonstrably malformed, and a visual result can satisfy the request, immediately read references/open-historical-page.md and use its browser fallback. - Present the requested result in the user's format. For ordinary human-readable output, use a compact table and preserve enough precision for the asset's magnitude.
Boundaries and Defaults
- Batch IDs in one request when the command supports it. On 429, respect the reported reset/backoff rather than retrying aggressively.
- Detect paid-only commands before execution. If the current tier cannot serve the request, say so and offer a supported route.
- Do not use the browser fallback for authentication, tier, rate-limit, invalid-input, or ambiguity errors. It does not satisfy requests for JSON, CSV, or other machine-readable evidence.
cgdoes not cover every CoinGecko endpoint. For unsupported contract-address prices, global stats, NFT detail, GeckoTerminal, or logo metadata, fetch the relevant current API documentation from https://docs.coingecko.com/llms.txt and state that the CLI route is unavailable.- Never expose API keys or send private wallet/account data to market-data endpoints.
Completion requires the resolved coin/command, successful JSON or requested export evidence, and explicit handling of tier, ambiguity, or rate-limit constraints. A historical-page fallback instead requires a validated URL opened in Chromium plus disclosure of the CLI failure that triggered it.
User-Facing Output
For ordinary human output, lead with ### 🪙 <coin> (<id>), show only the requested metrics in a compact table, and add
one source line with the endpoint plus timestamp, tier, or window when material. For exports, use
### ✅ Exported <row count> rows, link the artifact, and state the query/window without reproducing the CSV. Use
### ⚠️ Rate limited — retry after <time> when returning control, ### ⏳ Rate limited — retrying after <time> only
while actively waiting, or ### ⚠️ Paid endpoint — current tier: <tier> with one supported route. Return requested
JSON/CSV, exact IDs, URLs, values, commands, and diagnostics undecorated.
Does 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.

