magi

magi is a skill for Claude Code from ladiossoop5star/open_magi. It costs 31 tokens per session (4,835 once invoked), scanned A, original, MIT.

A proposal-first discussion workflow in which three read-only agents research options while the main agent makes decisions, changes files, and verifies the result.

In plain words
What is it for?
It is for bug fixes and other coding tasks that need evidence, explicit acceptance criteria, verification commands, a chosen approach, and review of the actual changes.
Why use it?
It separates investigation, decision-making, implementation, and adversarial review, reducing the chance of fixing the wrong problem or trusting an unverified solution.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents; mentions Claude Code.

Part of the open-magi plugin — 1 skill, 3 agents, 3 hooks shipped together

Good fit It is for bug fixes and other coding tasks that need evidence, explicit acceptance criteria, verification commands, a chosen approach, and review of the actual changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ladiossoop5star/open_magi/magi
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ladiossoop5star/open_magi --skill magi
Clone the repo
git clone --depth 1 https://github.com/ladiossoop5star/open_magi

Made for: Claude Code.

Or install open-magi, the plugin that ships this one along with the rest of its 1 skill, 3 agents, 3 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for magi

README.md
[![agentmods](https://agentmods.dev/badge/skills/ladiossoop5star/open_magi/magi/github.svg)](https://agentmods.dev/skills/ladiossoop5star/open_magi/magi)
Your own site
<a href="https://agentmods.dev/skills/ladiossoop5star/open_magi/magi"><img src="https://agentmods.dev/badge/skills/ladiossoop5star/open_magi/magi/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for magi

Your own site · 80×15
<a href="https://agentmods.dev/skills/ladiossoop5star/open_magi/magi"><img src="https://agentmods.dev/badge/skills/ladiossoop5star/open_magi/magi.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,835 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00031 $0.04835
Opus 5.5 $0.00012 $0.01934
Sonnet 5.5 $0.00006 $0.00967
Haiku 4.5 $0.00003 $0.00483

Measured 2mo ago against content hash e2dce72277fd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

magi scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

adapters/claude/skills/magi/SKILL.md · 429 lines

How it starts

The opening of the file, as written. The whole thing — 429 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Magi

Herdr Magi Activation Hard Gate

When the user explicitly asks to start or use Magi for a repository or project and HERDR_ENV=1, apply this gate before any other action: before repository or project read/search, other reference loading, state/checklist creation, runtime bootstrap, or pane split/agent launch.

From the already-current working directory, without filesystem search, perform exactly one initial lstat of exact absolute <current-cwd>/.open-magi-herdr. Its single result determines ENOENT versus existing and supplies owner, type, and mode metadata. On ENOENT, the next and only action is the first user-facing action: directly ask for the exact melchior, balthasar, and casper commands. This pre-activation question is direct: state.active is not set and question-request.md is not created.

Before that question, do not inspect or search other directories or repositories, .open_magi, HOME, the filesystem, PATH, runtime/native deliberator configs, agent names, prior reports or history, or standard commands. No Herdr/Git call, find or rg, fallback, or inference is allowed. The existing branch must reuse the returned metadata; no second lstat or existence check is allowed before asking or parsing. Only a proven owned regular file with valid mode may be read and parsed. If it shows a symlink, non-regular entry, foreign-owned entry, or unprovable owner, do not read or mutate it. With ownership, type, permission, format, role, or command invalid, the next and only action is to ask immediately with the direct user question, with zero other action; do not search elsewhere.

Only after the user answers may Magi safely write/update the file atomically with owner-only 0600 mode, apply its repository exclusion, and revalidate the exact file; a later lstat is allowed here. Only after local validity may it run herdr pane current --current, load references/herdr.md, explore the project, create state/checklists, bootstrap runtime, split panes, or launch agents.

Read the full file on GitHub · 429 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · +38 lines e2dce72277fd
  2. 2mo ago Changed · +1 lines f90c849ddeee
  3. 3mo ago First seen · 390 lines · 31 tokens per session scan A 630560ec88d9

Subscribe to this mod's changes

magi is a skill published in the GitHub repository ladiossoop5star/open_magi (3 stars, last pushed 1mo ago), licensed MIT. It adds 31 tokens to every session and 4,835 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

magi compared with skills from other repositories

magi next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
magiladiossoop5star/open_magiSkill31mo agoMITA31Claude Code
ponytail-gaindmae97/omkSkill154todayMITA83Claude Code, Codex
omk-mcp-setupdmae97/omkSkill154todayMITA42Claude Code, Codex
multi-bot0xranx/golembotSkill3221mo agoMITA53Claude Code, Codex
pstack-poteto-modedmae97/omkSkill154todayMITA54Claude Code
pstack-recalldmae97/omkSkill154todayMITA79Claude Code
pstack-reflectdmae97/omkSkill154todayMITA39Claude Code