AlleyBo55/doraemon
Doraemon live in desktop
ARCHETYPE
Automator
Hooks on every lifecycle event: format, lint, notify, log.
GUARDRAILS
2/5
Blocks destructive commands · Pre-tool screening hook · details
Quality 5/100 Guardrails v2
Copy this rig
# review before running: this installs third-party code $ claude mcp add doraemon -- npx tsx ./doraemon/src/main/mcp-server/doraemon-mcp.ts --workspace . $ claude mcp add filesystem -- npx -y @modelcontextprotocol/server-filesystem .
MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.
$ claude mcp add doraemon -- npx tsx ./doraemon/src/main/mcp-server/doraemon-mcp.ts --workspace . $ claude mcp add filesystem -- npx -y @modelcontextprotocol/server-filesystem .
Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.
{
"hooks": {
"PreToolUse": [
{
"matcher": "shell",
"hooks": [
{
"type": "prompt",
"command": "SECURITY CHECK: Before executing this shell command, verify it does NOT:\n1. Delete files (rm, rmdir, del)\n2. Change permissions (chmod, chown, sudo, su)\n3. Execute interpreters (python, node, ruby, perl, eval)\n4. Access system files (/etc/*"
}
]
},
{
"matcher": "write",
"hooks": [
{
"type": "prompt",
"command": "SECURITY CHECK: Before writing this file, verify:\n1. The file is NOT a skill file (*-skill.md) being auto-generated by the self-evolution skill — self-evolution is READ-ONLY\n2. The file is NOT soul.md, .env, or any config/secret file\n3. The"
},
{
"type": "prompt",
"command": "If the file being written is an OpenClaw skill file (matches *-skill.md in the openclaw directory), validate it has:\n1. Valid YAML frontmatter with name, description, and metadata fields\n2. At least one exec() or web_search() call pattern\n3"
}
]
},
{
"matcher": "web",
"hooks": [
{
"type": "prompt",
"command": "OSINT SECURITY CHECK: Before executing this web search/fetch, verify it does NOT:\n\n1. STALKING PATTERN: Repeated lookups on the same individual (check conversation history — if 3+ searches about same person, DENY)\n2. PII HARVESTING: Searchi"
}
]
}
]
}
} MCP servers (2)
| server | source | est. tokens |
|---|---|---|
| tsx · "doraemon" | npm | 2.5k |
| Filesystem | npm | 4.2k |
Hooks (14)
| event | matcher | runs |
|---|---|---|
| PreToolUse | shell | SECURITY CHECK: Before executing this shell command, verify it does NOT: 1. Delete files (rm, rmdir, del) 2. Change permissions (chmod, chown, sudo, su) 3. Execute interpreters (python, node, ruby, perl, eval) 4. Access system files (/etc/* |
| PreToolUse | write | SECURITY CHECK: Before writing this file, verify: 1. The file is NOT a skill file (*-skill.md) being auto-generated by the self-evolution skill — self-evolution is READ-ONLY 2. The file is NOT soul.md, .env, or any config/secret file 3. The |
| PostFileSave | **/.doraemon/request.json | A Doraemon request has been updated. Read the file .doraemon/request.json to see what Doraemon wants. Process the request based on its type: - If type is 'chat': Answer the message field as a normal chat request - If type is 'command': Exe |
| FileCreated | **/.doraemon/request.json | A Doraemon request has been created. Read the file .doraemon/request.json to see what Doraemon wants. Process the request based on its type: - If type is 'chat': Answer the message field as a normal chat request - If type is 'command': Exe |
| FileCreated | **/openclaw/*-skill.md | A new OpenClaw skill was just created. Check that the routing system is fully wired up for it: 1. Read the new skill file to get its name 2. Check doraemon/src/renderer/services/routing/types.ts has a matching TaskType 3. Check doraemon/sr |
| PostToolUse | shell | If the shell command just executed was a curl request to fetch media or oembed data, verify the response: 1. Any media URLs found must be from known CDN domains (pbs.twimg.com, scontent*.cdninstagram.com, img.youtube.com, p16-sign*.tiktokcd |
| FileCreated | **/openclaw/*-skill.md | bash doraemon/openclaw/sync.sh |
| PostFileSave | **/openclaw/*-skill.md | bash doraemon/openclaw/sync.sh |
| PostFileSave | **/openclaw/soul.md | bash doraemon/openclaw/sync.sh |
| PreToolUse | web | OSINT SECURITY CHECK: Before executing this web search/fetch, verify it does NOT: 1. STALKING PATTERN: Repeated lookups on the same individual (check conversation history — if 3+ searches about same person, DENY) 2. PII HARVESTING: Searchi |
| PostFileSave | **/services/routing/*.ts | A routing system file was edited. Run getDiagnostics on all routing files to check for type errors: - doraemon/src/renderer/services/routing/types.ts - <redacted>.ts - doraemon/src/renderer/services/routing/intent-detector.ts - doraemon/src |
| Stop | * | Quick self-reflection: Review the conversation that just ended. In 2-3 sentences, note: 1. What went well (response quality, helpfulness) 2. What could improve (missed intent, wrong tone, incomplete answer) 3. Any pattern worth remembering |
| PostFileSave | **/routing/types.ts | The TaskType definition was edited. Validate the full skill chain is intact: 1. Read doraemon/src/renderer/services/routing/types.ts and extract all TaskType values 2. For each TaskType (except general_chat), verify it exists in: - inte |
| PreToolUse | write | If the file being written is an OpenClaw skill file (matches *-skill.md in the openclaw directory), validate it has: 1. Valid YAML frontmatter with name, description, and metadata fields 2. At least one exec() or web_search() call pattern 3 |
Kiro (16 steering · 14 hook files)
andrej-karpathy · always · 370 tokanthropic-ai-engineer · manualanthropic-senior-engineer · manualapi-patterns · manualclean-code · always · 729 tokcode-comments · always · 104 tokfrontend-design · always · 989 tokllm-app-patterns · always · 732 toknasa-senior-engineer · always · 296 toknextjs-best-practices · always · 748 tokopenai-senior-engineer · always · 848 tokreact-best-practices · always · 1.4k toksteve-wozniak · manualtypescript-expert · always · 1.3k tokuncle-bob-clean-architecture · manualvercel-frontend-lead · always · 504 tok
MCP config: 10 auto-approved tool(s)
How Kiro files are scored: methodology.
Similar rigs
ExaDev/agent-comms
Cross-harness communication mesh for LLM agents, with rooms, direct messages, presence and visibility over TCP and no filesystem dependencies.
Pragmatist 2.5k tok · · Q0
nirholas/x402-mcp-commerce
MCP server that gives Claude/GPT agents commerce tools — each tool call pays an upstream x402 endpoint and returns its artifact
Pragmatist 8.0k tok · · Q3
chezsal12/sample-tax-return-calculator
A TypeScript library for estimating US federal and state income tax, built with Kiro using spec-driven development and property-based testing
Pragmatist 2.8k tok · · Q0
uedayou/loa-mcp-server
住所LOD(uedayou.net/loa)を利用し、日本の住所を検索してポリゴン/ポイントの位置情報を取得できるローカル実行のMCPサーバー
Pragmatist 2.5k tok · · Q0