claude
Skill0 starsChanged 4 days agoMITView on GitHub
Consult Anthropic Claude for a second opinion, code review, or deep analysis via the official Claude API. Use when asked to ask or consult Claude, Opus, Sonnet, Haiku, or Fable.
- Reads credentials
40 other projects use a version of this.
Adopted by
Most recently taken up by
- aakash1552005/universal-agent-skillstheir own version, first seen Nov 29, 2026
- Gucixdev/claude-skillstheir own version, first seen Nov 29, 2026
- Bazza1982/HASHItheir own version, first seen Nov 29, 2026
- keli-wen/cospantheir own version, first seen Nov 22, 2026
- elxecutor/skillstheir own version, first seen Nov 16, 2026
- dzhng/skillstheir own version, first seen Nov 15, 2026
Used with
Projects with it also use audit-decisions, implement-spec-with-codex and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
dzhngSkillaudit-decisions
Audit the decisions an implementing agent made, not its diff — a pure audit that traces the session's history into a decisions ledger, changes no code, and never blocks an unsupervised run. Working code still embeds architecture the user never chose; surface it because future work inherits it. Use when the user wants to review the decisions the AI made on their behalf, before merging or committing AI-implemented work, when integrating a delegated subagent's pass, or when a fix "works" but might be a point fix.
Also in 4 projects that use this
dzhngSkillimplement-spec-with-codex
Run [implement-spec](../implement-spec/SKILL.md) with Codex doing the implementation passes while you orchestrate, integrate, and review. Use when the user asks to implement a spec with Codex, or to run implement-spec with Codex as the implementer.
Also in 4 projects that use this
transitive-bullshitSkillcompare-screenshots
Compare screenshots against the intended design, distinguishing approved references from historical baselines. Use for iterative implementation matching, before/after visual review, objective image telemetry, or checking a lone capture for flat, empty, or badly framed content.
Also in 5 projects that use this
LucasMatuszewskiSkillaudit-agents
Audit and maintain agent configuration files (.claude/agents, AGENTS.md, CLAUDE.md, agent-memory). Checks for duplicates, outdated info, naming conflicts, wrong technical facts, and files over 200 lines. Fixes all issues and commits.
Also in 4 projects that use this
- +8 more from dzhng
Other versions40 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 40
- dzhng/jevgrep★ 3.2ksame name
- bergside/awesome-design-skills★ 2.9ksame name
- dzhng/skills★ 1.5ksame name
- letitbk/claude-academic-setup★ 219same name
- dzhng/yap★ 118same name
- keli-wen/cospan★ 85same name
- dzhng/duet-agent★ 55same name
- lldxflwb/claude-code-skills★ 28same name
- Zackriya-Solutions/syncfu★ 18same name
- G1Joshi/Agent-Skills★ 15same name
30 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 2 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 34 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 23
Run it: Before spending anything, the script checks the request and prints a [claude] preflight line on stderr:
- Distinctive: line 34
Every call costs the user money.
- Very specific: line 56
Run catalog. It prints the path of the user's editable copy, creating it from the bundled one if needed.
- Distinctive: line 57
Read https://platform.claude.com/docs/en/about-claude/pricing, https://platform.claude.com/docs/en/build-with-claude/effort, and …
- Very specific: line 59
Run models and confirm it shows no warnings.
- Very specific: line 63
No API key: ask the user to set ANTHROPIC_API_KEY, or store the key in the system keychain themselves.
“Common” is measured: kept by at least 6 in 10 of the 34 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Claude via the Anthropic API
Engine: python3 <skill-dir>/scripts/claude.py (relative link: scripts/claude.py). It uses only the Python standard library.
<skill-dir> is the folder that contains this SKILL.md (when installed as a global Antigravity plugin, ~/.gemini/config/plugins/claude/skills/claude). On Windows, use python instead of python3.
The script keeps itself current, so nothing here needs editing when Anthropic ships or retires models:
- Model names and capabilities are resolved against Anthropic's live model list (
GET /v1/models) for the user's key, cached for a day. An alias such asopusalways resolves to the newest active stable Opus. - Effort levels come from live model capabilities and are confirmed by the API. What it accepts or rejects is remembered and reported next time.
- Prices aren't published by the API, so they live in a dated
catalog.json. Tiered long-context rates and scheduled price changes apply automatically.
Standard procedure for every Claude request
- Turn the request into a model spec. "Consult Claude Opus High" becomes
-m opus-high; "ask Fable" becomes-m fable; "quick check with Haiku" becomes-m haiku-low. With no model named, leave out-mto use the configured default (sonnet). If the user names something you don't recognise, runmodelsand pick from it, or ask. - Write a self-contained prompt. Claude sees none of this conversation unless you pass
-c ID. Give the goal, the constraints, the relevant files through-f, and the shape of answer you want (for example "list concrete bugs with file and line; say NONE if there are none"). Send only what the question needs. Never send.envfiles, keys, credentials, or anything the user called sensitive: the data leaves the machine. - Run it. Before spending anything, the script checks the request and prints a
[claude]preflight line on stderr:- The model must be in Anthropic's live list for this key. Otherwise it stops and suggests close matches.
- It states whether the effort level is supported by the model's live capabilities, was accepted before, is in Anthropic's docs, or is rejected/unsupported.
- It shows the price and an input-cost estimate. Above the cost guard ($0.50 by default) it stops: ask the user, then rerun with
--yes.
- Act on what it reports. Never substitute silently.
- The model is missing, or the effort is rejected/unsupported: tell the user and offer the suggestion it prints (for example,
claude-opus-4-6does not supportxhigh, so it suggestshigh). Rerun only with their OK, unless they already said to use the closest. "opus" now means X (was Y): Anthropic released a newer version. Mention it in one line.refresh the catalog(a price is missing, or prices are over 30 days old): do the refresh below, and tell the user what changed.- 401, 403, 429, or 529 errors: pass on the hint the script prints (bad key, account tier/rate limit, or API overload).
- The model is missing, or the effort is rejected/unsupported: tell the user and offer the suggestion it prints (for example,
- Report back. Give Claude's answer, attributed ("Claude Opus 5.5 says…"). Then give your own assessment: check its claims against the code, and say which points you agree or disagree with and why. Finish with the cost line the script printed.
Every call costs the user money. You may suggest a Claude cross-check for a high-stakes change, but run it only after the user agrees, and never call it in a loop.
Commands
python3 <skill-dir>/scripts/claude.py ask "QUESTION" [-f FILE ...] [-m MODEL[-EFFORT]] [-t LEVEL] [-s SYSTEM] [-c ID] [--max-tokens N] [--yes]
python3 <skill-dir>/scripts/claude.py check [MODEL[-EFFORT]] [--probe] [--refresh]
python3 <skill-dir>/scripts/claude.py models [--all] [--refresh]
python3 <skill-dir>/scripts/claude.py doctor
python3 <skill-dir>/scripts/claude.py catalog-mtakes an alias (fable,opus,sonnet,haiku), optionally with an effort suffix (opus-high,fable-max,sonnet-medium). A full model ID pins an exact version, e.g.claude-opus-5-5-highorclaude-sonnet-4-6-high.-t/--effortsets the effort level and overrides a suffix.- Rough roles, which stay stable across versions: Fable is the strongest reasoner (hardest problems and long-horizon analysis), Opus is frontier coding & architecture, Sonnet is the everyday speed/intelligence balance (default), and Haiku is fastest and cheapest. Run
modelsfor current versions, effort levels, and prices. -f -reads stdin, e.g.git diff | python3 <skill-dir>/scripts/claude.py ask "Review this diff" -f -. Image files (PNG, JPEG, WebP, GIF) and PDF files passed with-fare attached natively as Anthropic image/document blocks.- A local
conversation_idis printed on stderr. Pass it to-cto ask a follow-up in the same multi-turn conversation. --max-tokensdefaults to16384(covering both adaptive thinking and final text). Requests above21000automatically use SSE streaming so Anthropic's non-streaming limit is never hit.check SPECpreviews a request without sending a prompt.--probeconfirms an effort level live with a tiny prompt (costs a fraction of a cent; a rejection is free).doctorchecks the setup: where the key was found (never its value), the config, the catalog, and API access. Run it first when something fails.
Refreshing the catalog (only when the script asks)
- Run
catalog. It prints the path of the user's editable copy, creating it from the bundled one if needed. Edit that file, never the bundled copy. - Read https://platform.claude.com/docs/en/about-claude/pricing, https://platform.claude.com/docs/en/build-with-claude/effort, and https://platform.claude.com/docs/en/about-claude/models/overview.
- For each model
modelslists, updateinputandoutput(USD per 1M tokens), anylong_contexttier or scheduledchanges,effort,default_effort, anduse_for. Add new model IDs, remove retired ones, and setverified_onto today. - Run
modelsand confirm it shows no warnings. Tell the user what changed.
Setup problems
- No API key: ask the user to set
ANTHROPIC_API_KEY, or store the key in the system keychain themselves. On macOS that'ssecurity add-generic-password -a "$USER" -s anthropic-api-key -w; on Linux,secret-tool store --label="Anthropic API key" service anthropic-api-key. Never ask them to paste the key into the chat. - Defaults live in
~/.config/claude-skill/config.json, e.g.{"default_model": "opus-high", "max_input_cost": 0.5, "max_tokens": 16384}. The environment variablesCLAUDE_DEFAULT_MODEL,CLAUDE_MAX_INPUT_COST, andCLAUDE_MAX_TOKENStake precedence. - Learned state (cached model list, accepted/rejected effort levels, alias history) is in
~/.cache/claude-skill/state.json, and local multi-turn conversations are stored in~/.cache/claude-skill/conversations/. Deleting them is safe. --rawalso prints the full JSON response to stderr, with large base64 payloads shortened.
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.

