بنقرة واحدة
role-setup
Define Hermit roles, including `role.md`, `AGENTS.md`, prompts, and startup files.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Define Hermit roles, including `role.md`, `AGENTS.md`, prompts, and startup files.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Define Hermit entity schema, templates, and starter records.
Generate short spoken audio files from text with OpenAI text-to-speech. Use when you want a Telegram voice-note reply or any local speech audio from text.
Transcribe saved Telegram voice notes and other audio attachments with OpenAI before replying. Use when a Telegram prompt includes an audio file path under inbox/telegram/.
Query the workspace `entities/` tree with helper scripts before manually reading many records.
Maintain the Hermit framework repo separately from workspace data, including framework PR and update flows.
Search `skills.sh` and ClawHub for reusable skills, then install only after user confirmation.
| name | role-setup |
| description | Define Hermit roles, including `role.md`, `AGENTS.md`, prompts, and startup files. |
Use when:
agents/<role-id>/.Do not use when:
entity-setup.Contract:
agents/<role-id>/role.md: manifest only.agents/<role-id>/AGENTS.md: operating standard, startup context, entity context, prompt index.agents/<role-id>/prompts/: recurring dense subdomains.agents/<role-id>/skills/: optional reusable role-local workflows.prompts/templates/agent/record.md and prompts/templates/agent/inbox.md: shared templates.inbox/: shared file drop zone. Not the same as agent/inbox.md.Decide for each role:
role_directoriesBuild order:
role.md with manifest facts only.AGENTS.md with operating standard, startup context, entity context, and on-demand prompts.prompts/*.md only for recurring dense work.agent/ when possible. If not, create agent/record.md and agent/inbox.md from the shared templates.npm run cli -- doctor --role <role-id>.Interview follow-through:
prompts/*.md files in the first draft.role_directories.AGENTS.md immediately.On-Demand Prompts empty when the role already has obvious recurring work modes.Rules:
role.md short and factual.AGENTS.md, not role.md.When to create another role:
AGENTS.md so the role can say when a request belongs elsewhere.How to get a strong persona:
role.md skeleton:
---
id: operations
name: Head of Operations
description: File-first operations leadership role for process quality, execution control, and follow-through.
---
Optional fields:
role_directories:
- supporting-files
AGENTS.md outline:
# <Role Name>
## Operating Standard
- What the role owns and protects
### Leadership Lens
- How the role sees the work
### Core Standard
- Non-negotiables
### Operating Relationship
- What the role owns
- What the user approves or handles directly
### Operating Expectations
- Recurring motions
- Evidence rules
- Escalation rules
## Startup Context
- `agent/record.md`
- `agent/inbox.md`
- shared files this role always reads first
## Entity Context
- managed types and directories
## On-Demand Prompts
- recurring prompt files
Shared template starters:
Copy from prompts/templates/agent/record.md and prompts/templates/agent/inbox.md when the runtime has not scaffolded them. The canonical templates include GTD sections (Active Projects, Next Actions, Waiting For, Calendar, Someday Or Maybe, Strategic Experiments, Strategic Observations) and an inbox Purpose section. Do not omit those sections when creating files manually.
Anti-patterns:
role.md instead of AGENTS.md.AGENTS.md that is all tone and no inspectable operating standard.On-Demand Prompts empty when the role already has obvious recurring work modes.prompts/templates/agent/ templates.Reference example:
skills/role-setup/example/sales/Validation:
AGENTS.md; it should sound like a specific operator, not a generic assistant.