card
БесплатноБез исполняемых скриптовНе проверенPortable tokens of capability, identity, and access
от majiayu000★ 31 звезда на GitHubОб этом скилле
Card
Portable tokens of capability, identity, and access.
Cards are templates. Put them "in play" in a room to activate them.
[!TIP] Hero-stories. Actors. Safe pointers to wisdom. No risks of impersonation, just tribute, storytelling, skill sharing and composing.
📑 Index
Architecture
- Card Architecture — The most important section!
- Recommended Section Order
- What Goes Where
- Advertisements Before Methods
- Method Placement Rules
Card Types
Mechanics
Card Architecture
KEY INSIGHT: Cards are ACTIVATION TRIGGERS, not activation handlers.
This is the most important concept in MOOLLM card design.
The Fundamental Distinction
| CARD.yml | SKILL.md | |
|---|---|---|
| Purpose | Decide IF this skill applies | Explain HOW to execute |
| Role | Activation trigger | Activation handler |
| Content | Sniffable interface | Full documentation |
| Size | ~150-200 lines | As needed |
| LLM reads | First, to decide | Second, if activated |
The CARD asks: "Does this situation call for me?" The SKILL.md answers: "Here's how to actually do it."
Recommended Section Order
Order sections for optimal LLM scanning:
# 1. Identity (who am I?)
card:
id: my-skill
name: "My Skill"
emoji: 🎯
tagline: "One-line pitch"
description: "Brief paragraph"
# 2. Files index (what else should LLM read?)
files:
- SKILL.md
- examples/
# 3. K-lines (what concepts does this activate?)
k-lines:
activates: [MY-SKILL, RELATED-CONCEPT]
# 4. Invoke when (trigger conditions)
invoke_when:
- "Situation that calls for this skill"
# 5. ADVERTISEMENTS — PRIMARY! Put BEFORE methods!
advertisements:
DO-THE-THING:
score: 90
condition: "When this applies"
# 6. Methods (signatures only, implementations in SKILL.md)
methods:
DO-THING: { signature: "DO-THING [arg]" }
# 7. State (brief field list)
state:
fields: [field1, field2]
# 8. Documentation pointers
documentation:
SKILL.md:
- "§ Detailed section"
Why Advertisements Before Methods?
Advertisements are the PRIMARY activation signal:
- LLM scans top-down looking for "does this apply?"
- Ads answer that question directly
- Methods are secondary — only relevant AFTER activation
- Front-loading ads speeds up skill selection
# GOOD — Ads first
advertisements:
PET-THE-CAT:
score: 80
condition: "Cat is present"
methods:
PAT: { signature: "PAT [cat]" }
# BAD — Methods first (LLM has to read past them)
methods:
PAT: { ... long list ... }
SCRITCH: { ... }
# ... many more ...
advertisements: # Too late! LLM already moved on
What Goes Where
In CARD.yml (sniffable interface)
# YES — Include these
- Brief description + tagline
- Files index (for one-shot activation)
- K-lines (activation vectors)
- Advertisements (PRIMARY!)
- Method SIGNATURES (one-liners)
- Brief state schema (field names only)
- Documentation pointers
# NO — Move these to SKILL.md
- Implementation details
- Detailed protocols with sequences
- Dispatch tables
- Dialogue examples
- Full state schemas with types
- Worked examples
In SKILL.md (full documentation)
- ## 📑 Index (link to each section)
- Detailed method implementations
- Protocols with step sequences
- Dispatch tables (actor_verb_target)
- State schemas with types and defaults
- Integration points with other skills
- Mechanics explanations
In examples/ (worked examples)
# Separate files with descriptive names
examples/
ceremony-invocation.yml # Good!
buff-chain-trigger.yml # Good!
example1.yml # Bad — not descriptive
Method Placement Rules
| Situation | Place In | Example |
|---|---|---|
| Short signature | CARD methods | PAT: { signature: "PAT [cat]" } |
| Trivial inline | Advertisement | method: "PAT [nearest-pet]" |
| Detailed protocol | SKILL.md | Dispatch tables, sequences |
| Multiple variants | SKILL.md | Species-specific versions |
| Dispatch table | SKILL.md | cat_sniffs_dog, etc. |
Embed in CARD when:
- Method is SHORT (one-liner signature)
- Method is UNIQUE to this skill
- Just showing signature, not implementation
Embed in advertisement when:
- Method is TRIVIAL (buff, reply, simple prompt)
- Method is AD-SPECIFIC (only makes sense in this trigger)
Delegate to SKILL.md when:
- Method has DETAILED protocol (sequences, tables)
- Method is SHARED with other skills
- Method has multiple VARIANTS
- Method needs EXAMPLES to understand
Target Card Size
card_yml: ~150-200 l
Установить card в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
read_filewrite_filelist_dirВложенные файлы
FAQ
Что делает скилл card?
Portable tokens of capability, identity, and access
Как установить скилл card?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл card запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic