| name | anthropic-reference |
| description | Reference guide for Anthropic official specifications on Skills and Subagents.
Use when: (1) Verifying naming conventions, (2) Checking frontmatter field requirements,
(3) Validating permission modes, (4) Understanding progressive disclosure patterns.
Triggers: "anthropic guide", "official docs", "naming rules", "field requirements"
|
Anthropic Official Guide Reference
This Skill provides bundled core content from Anthropic official guidelines.
Skills Guide
→ See skills-guide.md for complete reference
Core Rules:
| Field | Constraints |
|---|
name | 1-64 chars, lowercase + hyphens, matches directory name |
description | 1-1024 chars, functionality + usage timing |
Progressive Disclosure:
- Metadata (~100 tokens) - Always loaded
- Instructions (< 5000 tokens) - When activated
- Resources - When needed
Subagents Guide
→ See subagents-guide.md for complete reference
Core Fields:
| Field | Description |
|---|
name | Unique identifier in lowercase + hyphens |
description | Claude auto-delegation trigger |
tools | Allowed tools list |
model | haiku/sonnet/opus/inherit |
permissionMode | Permission mode |
Permission Modes:
default - Standard confirmation
acceptEdits - Auto-accept edits
plan - Read-only
bypassPermissions - Skip all confirmations (caution)
Naming Rules
→ See naming-rules.md for validation rules
Common Rules:
- 1-64 characters
- Lowercase + numbers + hyphens only
- No hyphen at start/end
- No consecutive hyphens
- No reserved words:
anthropic, claude
Validation:
[[ "$name" =~ ^[a-z][a-z0-9-]*[a-z0-9]$ ]] && [ ${#name} -le 64 ]
Quick Reference
Skill Frontmatter
---
name: skill-name
description: |
What it does. Use when: (1) scenario, (2) scenario.
Triggers: "keyword1", "keyword2"
---
Agent Frontmatter
---
name: agent-name
description: |
Role description.
Trigger: Use when condition.
tools: [Read, Grep, Glob]
model: sonnet
permissionMode: default
---
Validation Scenarios
name Validation
- Lowercase + hyphens only?
- 1-64 characters?
- No hyphen at start/end?
- No consecutive hyphens?
- No reserved words?
- (Skill) Matches directory name?
description Validation
- 1-1024 characters?
- Includes functionality description?
- Includes trigger conditions?
- Includes keywords?
Tool Permission Validation
- Least privilege principle?
- No Write/Edit for Read-only Agents?
- No Task for Worker Agents?
Bundled References
All guidelines for this Skill are self-contained: