~ / rigs / shakhruz / mila-agent

shakhruz/mila-agent

Mila Agent — the open-source AI employee for business, on Telegram. Built on Claude Code. Site: milaagent.com · Ready-made Milas: mila.market · Launch with us: milagpt.io/akselerator

↗ GitHub ★ 2 Apache-2.0 updated 11d ago project Claude Code
field: AI / ML workflow: PR / code review
stack: Python
share on X
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
CONTEXT TAX · EVERY TURN
~4.0k tokens
Moderate · median rig: 2.3k · breakdown
GUARDRAILS
4/5
Blocks destructive commands · Protects secrets · Pre-tool screening hook · No YOLO mode · details
Quality 20/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit shakhruz/mila-agent/templates/home/.claude ./rig-mila-agent  # inspect, then merge into .claude/

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.

$ npx degit shakhruz/mila-agent/skills/cards .claude/skills/cards
$ npx degit shakhruz/mila-agent/skills/communication .claude/skills/communication
$ npx degit shakhruz/mila-agent/skills/copyblock .claude/skills/copyblock
$ npx degit shakhruz/mila-agent/skills/dela .claude/skills/dela
$ npx degit shakhruz/mila-agent/skills/escalate-to-owner .claude/skills/escalate-to-owner
$ npx degit shakhruz/mila-agent/skills/import-review .claude/skills/import-review
$ npx degit shakhruz/mila-agent/skills/inbox-triage .claude/skills/inbox-triage
$ npx degit shakhruz/mila-agent/skills/inbox .claude/skills/inbox
$ npx degit shakhruz/mila-agent/skills/iniciativa .claude/skills/iniciativa
$ npx degit shakhruz/mila-agent/skills/memory-audit .claude/skills/memory-audit
$ npx degit shakhruz/mila-agent/skills/mila-export .claude/skills/mila-export
$ npx degit shakhruz/mila-agent/skills/mila-in-chat .claude/skills/mila-in-chat
$ npx degit shakhruz/mila-agent/skills/mila-session .claude/skills/mila-session
$ npx degit shakhruz/mila-agent/skills/mila-speech .claude/skills/mila-speech
$ npx degit shakhruz/mila-agent/skills/mila-tasks .claude/skills/mila-tasks
$ npx degit shakhruz/mila-agent/skills/mila-update .claude/skills/mila-update
$ npx degit shakhruz/mila-agent/skills/milagpt-chat .claude/skills/milagpt-chat
$ npx degit shakhruz/mila-agent/skills/obratnaya-svyaz .claude/skills/obratnaya-svyaz
$ npx degit shakhruz/mila-agent/skills/oglyadka .claude/skills/oglyadka
$ npx degit shakhruz/mila-agent/skills/onboarding .claude/skills/onboarding
$ npx degit shakhruz/mila-agent/skills/owner-dm .claude/skills/owner-dm
$ npx degit shakhruz/mila-agent/skills/packs .claude/skills/packs
$ npx degit shakhruz/mila-agent/skills/pd-vault .claude/skills/pd-vault
$ npx degit shakhruz/mila-agent/skills/plain-words .claude/skills/plain-words
$ npx degit shakhruz/mila-agent/skills/raspisanie .claude/skills/raspisanie
$ npx degit shakhruz/mila-agent/skills/safe-link .claude/skills/safe-link
$ npx degit shakhruz/mila-agent/skills/self-check .claude/skills/self-check
$ npx degit shakhruz/mila-agent/skills/subscription-limits .claude/skills/subscription-limits
$ npx degit shakhruz/mila-agent/skills/subscription .claude/skills/subscription
$ npx degit shakhruz/mila-agent/skills/tasks-discipline .claude/skills/tasks-discipline
$ npx degit shakhruz/mila-agent/skills/tasks .claude/skills/tasks
$ npx degit shakhruz/mila-agent/skills/topics .claude/skills/topics
$ npx degit shakhruz/mila-agent/skills/utochnenie-zadach .claude/skills/utochnenie-zadach
$ npx degit shakhruz/mila-agent/skills/verify .claude/skills/verify

Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.

{
  "permissions": {
    "deny": [
      "Read(~/.mila-auth/**)",
      "Edit(~/.mila-auth/**)",
      "Read(~/work/secrets/**)",
      "Edit(~/work/secrets/**)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "mcp__plugin_(mila-)?telegram_telegram__reply|mcp__plugin_(mila-)?telegram_telegram__edit_message|mcp__plugin_(mila-)?tel",
        "hooks": [
          {
            "type": "command",
            "command": "python3 $HOME/.claude/hooks/send-guard.py"
          },
          {
            "type": "command",
            "command": "python3 $HOME/.claude/hooks/done-guard.py"
          }
        ]
      },
      {
        "matcher": "Bash|Read|Grep|Glob|Edit|Write|MultiEdit",
        "hooks": [
          {
            "type": "command",
            "command": "python3 $HOME/.claude/hooks/secret-guard.py"
          }
        ]
      }
    ]
  }
}

Skills (34)

Hooks (9)

eventmatcherruns
SessionStart*python3 $HOME/.claude/hooks/session-start.py
SessionStart*f=$HOME/.claude/skills/mila-tasks/hooks/task-open.py; [ -f "$f" ] && exec python3 "$f"; exit 0
UserPromptSubmit*$HOME/.claude/hooks/telegram-inbox-feed.py
UserPromptSubmit*python3 $HOME/.claude/hooks/skill-hint.py
PreToolUsemcp__plugin_(mila-)?telegram_telegram__reply|mcp__plugin_(mila-)?telegram_telegram__edit_message|mcp__plugin_(mila-)?telpython3 $HOME/.claude/hooks/send-guard.py
PreToolUsemcp__plugin_(mila-)?telegram_telegram__reply|mcp__plugin_(mila-)?telegram_telegram__edit_message|mcp__plugin_(mila-)?telpython3 $HOME/.claude/hooks/done-guard.py
PreToolUseBash|Read|Grep|Glob|Edit|Write|MultiEditpython3 $HOME/.claude/hooks/secret-guard.py
PostToolUsemcp__plugin_(mila-)?telegram_telegram__replyf=$HOME/.claude/skills/mila-tasks/hooks/task-sent.py; [ -f "$f" ] && exec python3 "$f"; exit 0
PostToolUseFailure*python3 $HOME/.claude/hooks/done-guard.py

Permissions

deny (4)
Read(~/.mila-auth/**)
Edit(~/.mila-auth/**)
Read(~/work/secrets/**)
Edit(~/work/secrets/**)
ask (0)
—
allow (0)
—

Similar rigs

copied ✓