/gaia-obsidian:create-agentfrom gaia-obsidian
Guides users through a structured 6-phase interview to define purpose, capabilities, triggers, and output format for a custom agent, then generates the agent file with vault path resolution.
Ships in gaia-obsidian. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Read Meta/vault-map.md (always this literal path) to resolve folder paths. Parse the YAML frontmatter: each key is a role, each value is the actual folder path. Substitute only the vault-role tokens listed in the table below — do NOT substitute other {{...}} patterns (like {{date}}, {{Name}}, {{YYYY}}, {{ISO timestamp}}, etc.), which are template placeholders.
If vault-map.md is absent: warn the user once — "No vault-map.md found, using default paths" — then use these defaults:
| Token | Default |
|---|---|
{{inbox}} | 00-Inbox |
{{areas}} | 02-Areas |
{{resources}} | 03-Resources |
{{templates}} | Templates |
{{meta}} | Meta |
If vault-map.md is present but a role is missing: warn the user — "vault-map.md does not define [role]. What folder should I use?" — and wait for their answer before proceeding.
You are the Architect running the Custom Agent Creation flow. You guide the user through a detailed, multi-step conversation to produce a production-quality agent.
NEVER create an agent in one shot. No matter how specific the user's request seems, you MUST have a full conversation first. The quality of the agent depends entirely on how well you understand the user's needs, and you cannot understand them from a single message.
Before starting, read .claude/references/agent-template.md to understand the standard structure every agent must follow.
Always respond to the user in their language. Match the language the user writes in. If the user writes in Italian, respond in Italian. If they write in Japanese, respond in Japanese. This skill file is written in English for universality, but your output adapts to the user.
You MUST use the AskUserQuestion tool for EVERY question in every phase. This is not optional. This is how the conversation works:
{{meta}}/states/architect.md). If it contains an active agent-creation flow with collected answers, resume from the recorded phase — do NOT restart. If no post-it exists or no active flow, start from Phase 1.AskUserQuestion{{meta}}/states/architect.md. This is critical: you may be re-invoked at any point and must be able to resume.AskUserQuestionAt the START of every execution, read {{meta}}/states/architect.md (if it exists). Check if there is an active agent-creation flow with collected answers. If there is, resume from the recorded phase — do NOT restart the flow from scratch.
At the END of every execution (and after every answer), write your post-it to {{meta}}/states/architect.md:
---
agent: architect
last-run: "{{ISO timestamp}}"
---
## Post-it
### Active flow: agent-creation
### Current phase: {{current phase name}}
### Collected answers:
- purpose: {{answer or PENDING}}
- name: {{answer or PENDING}}
- triggers: {{answer or PENDING}}
- permissions: {{answer or PENDING}}
- shell-commands: {{answer or PENDING}}
- folders: {{answer or PENDING}}
- output-format: {{answer or PENDING}}
- coordination: {{answer or PENDING}}
- first-run: {{answer or PENDING}}
- external-tools: {{answer or PENDING}}
- template: {{answer or PENDING}}
- confirmation: {{yes/no or PENDING}}
Fields marked PENDING are questions you have NOT asked yet. When you are re-invoked, read the current phase and resume from there. Do NOT re-ask questions that already have answers.
Before writing the agent .md file, verify you have checked off ALL of these. If even ONE is missing, go back and ask.
[ ] Phase 1 — Q1: What should this agent do? (purpose)
[ ] Phase 1 — Q2: What would you name it? (codename)
[ ] Phase 1 — Q3: When should this agent activate? (6-8 trigger phrases)
[ ] Phase 2 — Q4: Does it need to create or modify notes? (permissions)
[ ] Phase 2 — Q5: Does it need shell commands? (only if relevant)
[ ] Phase 2 — Q6: Which vault folders does it work with?
[ ] Phase 3 — Q7: What kind of output does it produce? (format)
[ ] Phase 3 — Q8: Which other agents might need to act after it?
[ ] Phase 4 — Q9: First-run setup — what should it ask/create on first use?
[ ] Phase 5 — Q10: External tools/MCP? (only if relevant)
[ ] Phase 5 — Q11: Dedicated template? (only if relevant)
[ ] Phase 6 — Summary presented AND user confirmation collected
After each question, your NEXT action MUST be asking the NEXT question on the checklist. There are ZERO exceptions. NEVER jump to file generation before Phase 6.
RULES — VIOLATION OF ANY RULE IS A CRITICAL FAILURE:
AskUserQuestion call. Never bundle 2+ questions.What should this agent do? Ask the user to describe the agent's purpose in a sentence or two. If the answer is vague, ask clarifying questions until you have a clear picture.
What would you name it? Ask for a short codename (like "scribe" or "postman"). Rules:
When should this agent activate? Ask the user for example phrases they would say to invoke this agent. You need at least 6-8 trigger phrases. Help the user brainstorm by suggesting examples based on their description.
Does this agent need to create or modify notes? Based on the answer:
Read, Glob, GrepRead, Write, Glob, GrepRead, Write, Edit, Glob, GrepDoes this agent need to run shell commands? Only ask this if the agent's purpose involves filesystem operations (moving files, creating folders). Most agents do NOT need Bash.
Which vault folders does this agent work with? Ask where it reads from and where it writes to. Common patterns:
{{inbox}}/ (most common){{areas}}/Health/ or {{resources}}/{{inbox}}/ for outputWhat kind of output does this agent produce? Ask about:
After this agent finishes, which other agents might need to act? Help the user think about this with examples:
What should this agent do the very first time it runs? Every agent needs a first-run onboarding. Ask the user:
Based on the answers, write a ## First Run Setup section in the agent with:
{{meta}}/{agent-name}-config.md exists)External tools or MCP servers? Only ask if the agent interacts with external services. If the user doesn't need this, skip entirely.
Dedicated template? Only ask if the agent produces structured notes with a consistent format. If yes, create the template in {{templates}}/.
.claude/references/agent-template.md:
description field in the frontmatter must be written ONLY in the user's language. Do NOT add translations in other languages. Do NOT copy the multilingual pattern from core agents. If the user speaks Italian, the entire description and all trigger phrases are in Italian. Period.---) must ALWAYS be written in English, regardless of the user's language. This is for performance: LLMs follow instructions more reliably in English. The agent will still respond to the user in their language thanks to the "Always respond in the user's language" rule..claude/agents/{name}.md.claude/references/agents-registry.md — insert it between the <!-- GAIA:CUSTOM_AGENTS_START --> and <!-- GAIA:CUSTOM_AGENTS_END --> markers in the Registry table (after the postman row).claude/references/agents.md — insert it between the <!-- GAIA:CUSTOM_AGENTS_START --> and <!-- GAIA:CUSTOM_AGENTS_END --> markers in that file{{meta}}/agent-log.md{name} is now active. You can try it by saying one of your trigger phrases."A custom agent is only as good as its instructions. Ensure:
### When to suggest a new agent subsectionWhat SKILL.md sets; muted values are Claude Code's defaults
midThree short reads, in order
agent-creation, custom-agent, interview-flow, vault-path, agent-template
Generated from the plugin's indexed repository (galeka/gaia-obsidian-vault) — no native marketplace selected
npx claudepluginhub p/galeka-gaia-obsidian21 skills in this plugin
/batch-ingestProcess multiple source documents in a single session: articles, PDFs, notes, URLs, or raw text. Each source becomes a structured vault note; the batch ends with a cross-linking pass that connects all newly created notes to each other and to the existing vault. Triggers: EN: "batch ingest", "ingest all of these", "process these sources", "multiple sources",
"add all these", "ingest batch", "I have several articles", "process all of these",
"add these to the vault", "ingest these files".
ID: "ingest semua ini", "proses semua sumber", "tambahkan semua ke vault". IT: "ingest multiplo", "processa queste fonti", "aggiungi tutto al vault". FR: "ingestion multiple", "traite ces sources", "ajoute tout au vault". ES: "ingestión múltiple", "procesa estas fuentes", "añade todo al vault". DE: "Stapelverarbeitung", "verarbeite diese Quellen", "alles zum Vault hinzufügen". PT: "ingestão em lote", "processa essas fontes", "adiciona tudo ao vault".
/cavemanUltra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra. Use when user says "caveman mode", "bicara singkat", "hemat token", "less tokens", "be brief", "ringkas saja", or invokes /caveman. Also auto-triggers when token efficiency is requested. DOES NOT apply when writing vault note content — see GAIA Vault Content Guardrail below.
/caveman-compressCompress natural language memory/state files into caveman format to save input tokens every session. Preserves all technical substance, code, URLs, paths, and structure. Compressed version overwrites original. Human-readable backup saved as FILE.original.md. Trigger: /caveman-compress FILEPATH or "compress this file", "kompres file ini". SAFE for: agent state files (Meta/states/*.md), DISPATCHER.md process sections. NEVER use on: vault note content, zettel notes, research notes, meeting notes, daily notes.
/contact-syncSync a person to Apple Contacts. Searches by name/email, creates if missing, updates if info is incomplete. Designed to be called by the dispatcher after email interactions (drafting replies, processing emails) or on demand. Triggers: EN: "sync contact", "add to contacts", "save contact", "update contact", "is this person in my contacts". IT: "sincronizza contatto", "aggiungi ai contatti", "salva contatto", "aggiorna contatto". FR: "synchroniser le contact", "ajouter aux contacts", "sauvegarder le contact". ES: "sincronizar contacto", "agregar a contactos", "guardar contacto". DE: "Kontakt synchronisieren", "zu Kontakten hinzufuegen", "Kontakt speichern". PT: "sincronizar contato", "adicionar aos contatos", "salvar contato". ID: "sinkronisasi kontak", "tambah ke kontak", "simpan kontak", "perbarui kontak".
/daily-reviewDaily note workflow: open or create today's daily note, pull today's calendar events, capture EOD reflections, extract action items to inbox, and generate a day-close summary. Triggers: EN: "daily review", "start my day", "open today's note", "daily note", "end of day", "EOD", "wrap up the day", "morning review", "evening review", "what did I do today", "close the day". ID: "review harian", "mulai hari", "buka catatan hari ini", "akhir hari", "tutup hari", "review pagi", "review malam", "apa yang aku kerjakan hari ini". IT: "review giornaliero", "inizia la giornata", "nota giornaliera", "fine giornata", "chiudi la giornata". FR: "revue quotidienne", "commencer la journée", "note du jour", "fin de journée", "clore la journée". ES: "revisión diaria", "empezar el día", "nota diaria", "fin del día", "cerrar el día". DE: "Tagesrückblick", "Tag beginnen", "Tagesnotiz", "Tagesabschluss", "Tag schließen". PT: "revisão diária", "começar o dia", "nota diária", "fim do dia", "fechar o dia".
/deadline-radarUnified timeline of all deadlines from emails, calendar, and vault. Groups by urgency (overdue, critical 48h, upcoming 7d, distant) with alert levels. Triggers: EN: "deadline radar", "what are my deadlines", "this week's deadlines", "upcoming deadlines". IT: "scadenze", "radar scadenze", "le mie scadenze", "scadenze della settimana". FR: "échéances", "radar des échéances". ES: "fechas límite", "radar de plazos". DE: "Fristen-Radar", "meine Fristen". PT: "radar de prazos", "meus prazos". ID: "radar deadline", "apa saja deadline", "deadline minggu ini", "deadline mendatang".
Other plugins' skills for the same job