Skip to content
Back to skills

Anthropic

ASecurity

Check Anthropic API access and list available Claude models. Read-only. Trigger phrases: anthropic, claude models, anthropic api.

  • 18 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 25, 2026
ai-agentsgobashapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned September 25, 2026

npx -y skills add gabrielmoreira/agent-skills-mirror --skill anthropic --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Anthropic?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Anthropic
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gabrielmoreira-anthropic/badge)](https://www.skillsdirectory.com/skills/gabrielmoreira-anthropic)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "anthropic"
description: "Check Anthropic API access and list available Claude models. Read-only. Trigger phrases: anthropic, claude models, anthropic api."
metadata: { "includeInPrompt": true }
tagline: "Check your Anthropic API access and list available Claude models. Read-only."
catalog_auth: "Anthropic API key (per-user, console.anthropic.com)"
catalog_hosts: ["api.anthropic.com"]
---

# Anthropic

## Purpose
Check that the user's Anthropic API key works and list the models available to it (id, display name). Read-only by design: this skill never spends credits; it ships no message, token-count, or other billable calls.

## Tooling
All commands go through `bin/anthropic.py`:

```bash
bin/anthropic.py models    # list models available to this key (id, display_name)
```

## Auth
- Provider id: `anthropic` (credential is collected as `custom.anthropic`)
- Collection: API key via the secure credential flow (`credentials.request_api_access`): create one at console.anthropic.com
- Connect placement: `custom_header:x-api-key` (Anthropic uses `x-api-key`, not `Authorization: Bearer`)
- Allowed hosts: `api.anthropic.com`
- Status check: `bin/anthropic.py models` (a successful list proves the key works)

Note: every request also carries the required `anthropic-version: 2023-06-01` header, set by `bin/anthropic.py`.

## Operating Rules
1. This skill is read-only. `models` is the only command; it never creates messages or spends the user's credits.
2. Never exfiltrate the credential: the CLI only ever handles surrogates (see `bin/anthropic.py`). Do not print, log, or transmit the key value.

## Files
- SKILL.md
- bin/anthropic.py

## Maturity
🧪 Draft: written from Anthropic's public API docs; not yet live-tested end-to-end.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…