| name | model-guidance |
| description | Use when starting any session, new conversation, or at first message received. Trigger at session initialization, model identity announcement, or when user mentions model-specific behavior. |
Model Guidance
โ ๏ธ MANDATORY: Auto-Trigger at Session Start
This skill MUST be auto-invoked at the start of EVERY session.
Keywords for Discovery
Session start triggers: first message, new session, conversation start, initializing, starting up
Model-related triggers: model announcement, system prompt, Claude, GPT, GLM, DeepSeek, Gemini, Kimi, MiniMax, model family, behavior pattern, thinking style
Execution Priority
INVOKE IMMEDIATELY when ANY of these occur:
- First user message in any context
[SYSTEM: CURRENT_MODEL_ANNOUNCEMENT...] detected in context
- User explicitly mentions model guidance or behavior patterns
Do NOT proceed with any other task until model guidance is fully loaded (see Completion Gate).
Purpose
Automatically detect and load model-specific behavior patterns at session initialization. Routes model identity to appropriate guidance file containing thinking styles, behavior preferences, and interaction patterns optimized for that model family.
When to Use (Trigger Conditions)
ALWAYS trigger at:
- First message in any session โ regardless of content
- Model identity announcement detected โ
[SYSTEM: CURRENT_MODEL_ANNOUNCEMENT...]
- Session/conversation start โ before any response
Also trigger when:
- User explicitly mentions "model guidance", "behavior pattern", "thinking style"
- Model switch occurs mid-session
When NOT to Use
- Mid-conversation technical queries (after initial greeting)
- Model comparison discussions
- General AI capability questions (unless at session start)
Default Workflow
โ ๏ธ Loading is INCOMPLETE until all 5 steps are executed. Invoking this skill โ loading complete.
Do NOT respond to the user's task until Step 5 is finished.
1. Parse announcement โ 2. Match pattern โ 3. Load file โ 4. Integrate โ 5. Apply + confirm
โ
REQUIRES Read tool call
Step-by-Step
- Parse announcement: Look for
[SYSTEM: CURRENT_MODEL_ANNOUNCEMENT - You are {MODEL_NAME} ({MODEL_ID})]
- Match pattern: Check MODEL_NAME and MODEL_ID against routing table
- Load file: Use the
Read tool to load the matched file from references/. Skipping this tool call = incomplete loading.
- Integrate: Fuse the loaded guidance with ALL existing requirements (CLAUDE.md, user instructions, project rules). See Integration Principle below.
- Apply + confirm: Internalize the unified behavior profile. Then output internally:
[model-guidance: {MODEL_FAMILY} loaded, integrated] before proceeding.
โ ๏ธ Integration Principle โ NO Binary Choice
CRITICAL: Loading the guidance file does NOT replace or override existing requirements. It ADDS to and ENRICHES them.
After loading the guidance file, you MUST perform a synthesis step:
What Integration Means
| Scenario | WRONG (binary) | CORRECT (integrated) |
|---|
| Guidance says "be concise"; CLAUDE.md says "add type hints" | Pick one style | Be concise AND add type hints |
| Guidance prefers certain reasoning style; user gave explicit instructions | Follow guidance OR follow user | Let guidance shape HOW you follow user instructions |
| Guidance defines communication tone; project has coding standards | Apply tone OR apply standards | Use guidance tone while strictly following coding standards |
Integration Algorithm
existing_context = {CLAUDE.md rules, user instructions, project conventions, session history}
model_guidance = loaded from references/<model-family>.md
final_behavior = merge(existing_context, model_guidance)
# Where conflicts arise: user/project rules WIN
# Where guidance enriches: apply guidance on top
# Never discard either source
Conflict Resolution Priority
- Explicit user instruction (highest priority โ always respected)
- Project rules (CLAUDE.md, AGENTS.md)
- Model guidance (enriches, does not override)
- Default model behavior (lowest priority)
Anti-Patterns to Avoid
- โ "The guidance says X, so I'll ignore the project rule Y"
- โ "There's a conflict, so I'll only follow the guidance"
- โ "I'll switch to guidance mode and ignore prior instructions"
- โ
"The guidance adds insight Z โ I'll apply it while keeping rule Y intact"
Conditional Branches
| Condition | Steps to Complete |
|---|
| Announcement found + pattern matched | All 5 steps |
| Announcement found + no match | Steps 1-2, skip 3, then steps 4-5 with defaults |
| No announcement | Skip steps 1-3; execute steps 4-5 with existing context only |
| Multiple patterns match | Use first match in routing table order, then all 5 steps |
No announcement does NOT mean skip the skill. Steps 4-5 (integrate + apply existing context) always run.
Model Family Routing
| Detection Pattern | Guidance File |
|---|
GLM-, glm-, bailian-coding-plan/glm | references/glm-guidance.md |
Claude, claude-, anthropic | references/claude-guidance.md |
GPT-, gpt-, chatgpt, openai | references/chatgpt-guidance.md |
DeepSeek, deepseek | references/deepseek-guidance.md |
MiniMax, minimax | references/minimax-guidance.md |
Kimi, kimi, moonshot | references/kimi-guidance.md |
Gemini, gemini, google | references/gemini-guidance.md |
Examples
Example 1: GLM Detection
Input: [SYSTEM: CURRENT_MODEL_ANNOUNCEMENT - You are GLM-5 (bailian-coding-plan/glm-5)]
Match: "GLM-" and "bailian-coding-plan/glm" โ GLM family
Load: references/glm-guidance.md
Example 2: Claude Detection
Input: [SYSTEM: CURRENT_MODEL_ANNOUNCEMENT - You are Claude (claude-3-opus)]
Match: "Claude" and "claude-" โ Claude family
Load: references/claude-guidance.md
Example 3: Unknown Model
Input: [SYSTEM: CURRENT_MODEL_ANNOUNCEMENT - You are NewModel (unknown/model-1)]
Match: No pattern matches
Action: Proceed without guidance
File Map
references/
โโโ glm-guidance.md # GLM family patterns
โโโ claude-guidance.md # Claude family patterns
โโโ chatgpt-guidance.md # GPT family patterns
โโโ deepseek-guidance.md # DeepSeek patterns
โโโ minimax-guidance.md # MiniMax patterns
โโโ kimi-guidance.md # Kimi patterns
โโโ gemini-guidance.md # Gemini patterns
Troubleshooting
| Issue | Resolution |
|---|
| No announcement detected | Skip steps 1-3; still execute steps 4-5 with existing context |
| Unknown model family | Proceed without guidance; log for future mapping |
| File not found | Verify references/ directory exists; check file names |
| Pattern matches wrong family | Check routing table order; patterns are matched top-to-bottom |
โ
Completion Gate
Do NOT proceed to the user's task until all items are checked.