AC claude-api
Build apps with the Claude API or Anthropic SDK. TRIGGER when: code imports `anthropic`/`@anthropic-ai/sdk`/`claude_agent_sdk`, or user asks to use Claude API, Anthropic SDKs, or Agent SDK. DO NOT TRIGGER when: code imports `openai`/other AI SDK, general programming, or ML/data-science tasks.
As a process C 63/100 · Has gaps — weak spots: inputs and preconditions, consistency, running it twice
How to improve
- Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
- A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.
Guard findings · 9
✓ No critical or high findings
Medium and low: 9
-
low Secrets in code
secret-high-entropy-tokengo/claude-api.md:331High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)Also available: `WebF…ram`, `Memo…ram`, `Tool…ram`, `Tool…ram`.
quoted -
low Secrets in code
secret-high-entropy-tokengo/claude-api.md:404High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)Other edit types: `Beta…ram`, `Beta…ram`.
quoted -
low Secrets in code
secret-high-entropy-tokenphp/claude-api.md:241High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)**Server-side tools** (bash, web_search, text_editor, code_execution) are GA and work on both paths — `Anthropic\Messages\Tool…124` / `WebS…209` / `Tool…728` / `Code
quoted -
low Secrets in code
secret-high-entropy-tokenpython/claude-api/files-api.md:99High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)file_info = client.beta.files.retrieve_metadata("file…V8w")quoted -
low Secrets in code
secret-high-entropy-tokenpython/claude-api/files-api.md:107High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)client.beta.files.delete("file…V8w")quoted -
low Secrets in code
secret-high-entropy-tokenpython/claude-api/files-api.md:115High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)file_content = client.beta.files.download("file…V8w")quoted -
low Secrets in code
secret-high-entropy-tokenshared/error-codes.md:39High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)"request_id": "req_…7Fy"
quoted -
low Secrets in code
secret-high-entropy-tokentypescript/claude-api/files-api.md:84High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)await client.beta.files.delete("file…V8w", {quoted -
low Secrets in code
secret-high-entropy-tokentypescript/claude-api/files-api.md:93High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)"file…V8w",
quoted
Files scanned: 27. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
✓ No remarks against the Agent Skills spec
Process rating: all ten parameters 63/100
- 0Inputs and preconditions. Does not say what the process needs to start
- 0Progress reporting. Says nothing while it works
- 30Running it twice. 7 mutating operations with no state check
- 40Consistency. Frontmatter name (claude-api) differs from the folder (claude-api-cn)
- 60Tools and files. Uses tools (bash, web, python) that frontmatter does not declare
- 60Result and completion. Output format stated, no completion criterion
- 70Execution cost. Instruction body is 4649 tokens
- 85Steps. 49 steps, 1 vague phrases
- 100When it triggers. States when to use and when not to
- 100Failures and branches. 11 branches, has a failure section
- medium Safety rules and hard prohibitions inside a skill: they belong in the system prompt, here they protect nothing
- low 10 top-level sections: this looks like several domains in one skill
Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.
Quality signals
- +5Description has no quoted example phrases that should trigger the skill
- +4Description does not say when NOT to use the skill (false activations)
- +2Single-language instructions
- +3Description length 293: enough signal without eating the budget
- +4Structure: 17 headings
- +3Step-by-step instructions: 49 items
- +3Output format is stated explicitly
- +4Has examples (1 code blocks)
- +1License stated
Quality base 70; lint remarks subtract, signals add up to 100. Result: 88.