Setup agent toolkit
Safely inspect, preview, install, update, or repair Agent Toolkit skills, workers, and optional AGENTS.md or CLAUDE.md routing policy. Use when a user asks an agent to set up Agent Toolkit, Codex Maestro, Claude Maestro, global agent defaults, or project-scoped orchestration instructions. Default to read-only inspection and dry-run previews; protect existing developer configuration with conflict detection, explicit approval, backups, atomic writes, validation, and rollback guidance.From its SKILL.md
npx -y skills add akoita/agent-toolkit --skill setup-agent-toolkitAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
6.7 KB, as published. Nobody here has run it
Set up Agent Toolkit safely
Treat developer configuration as user-owned data. Inspect first, preview every change, and mutate only the requested platform and scope.
Safety contract
- Start read-only. Identify the checkout, platform (
codexorclaude), scope (globalorproject), home directories, existing installations, instruction files, symlinks, and uncommitted repository changes. - Never print secrets or read unrelated credentials, environment files, or
tokens. Do not edit
config.toml, model settings, MCP settings, hooks, permissions, shell profiles, or environment variables. - Do not use an installer's
--forceoption, delete an installation, replace a symlink, or overwrite an existing config unless the user approves the exact preview after conflicts and backups are explained. - Stop on malformed managed markers, unexpected file types, unreadable text, ambiguous homes, or content that cannot be preserved byte-for-byte outside the managed block. Report evidence instead of guessing.
- Keep all edits inside Agent Toolkit destinations and the single requested instruction file. Preserve unrelated content and file permissions.
Inspect and plan
Locate this repository and confirm the requested source exists:
- Codex skill:
plugins/codex/codex-maestro/skills/codex-maestro/ - Codex implementation worker:
plugins/codex/codex-maestro/skills/codex-maestro/references/implementation-worker.toml - Codex exploration worker:
plugins/codex/codex-maestro/skills/codex-maestro/references/exploration-worker.toml - Claude skill:
plugins/claude/maestro/skills/maestro/ - Claude agents:
plugins/claude/maestro/agents/
Resolve destinations without changing them:
| Platform | Global skill | Project skill | Global policy | Project policy |
|---|---|---|---|---|
| Codex | ~/.agents/skills/codex-maestro/ | <repo>/.agents/skills/codex-maestro/ | ~/.codex/AGENTS.md | <repo>/AGENTS.md |
| Claude | ~/.claude/skills/maestro/ | <repo>/.claude/skills/maestro/ | ~/.claude/CLAUDE.md | <repo>/CLAUDE.md |
Custom-agent destinations are $CODEX_HOME/agents/ or <repo>/.codex/agents/
for Codex, and ~/.claude/agents/ or <repo>/.claude/agents/ for Claude.
Inspect every individual destination before copying it. For Codex upgrades,
also report a legacy luna-worker.toml if present; do not delete or overwrite it
without a separate preview and approval.
For Codex, resolve $CODEX_HOME before falling back to ~/.codex. On Windows
and WSL, treat each environment as a separate installation. Do not cross-write
between their homes.
If a destination already exists, compare it with the source. Report whether it is identical, modified, older, or a symlink. An existing modified destination is a conflict, not an invitation to replace it.
Preview policy changes
Use the bundled deterministic editor. It writes nothing unless --apply is
present:
python <this-skill>/scripts/configure_policy.py \
--platform codex|claude \
--scope global|project \
[--project-root <repository>]
Show the complete target path and unified diff to the user. Explain any
existing managed block that will be updated. Request explicit approval before
running the same command with --apply. Approval to "set up the toolkit" does
not waive this preview checkpoint when an existing instruction file will be
modified.
The editor only creates or updates a marked Agent Toolkit block. It refuses symlink targets and malformed or duplicate markers, creates a timestamped backup of an existing file, preserves content outside the block, and replaces the file atomically.
Install after approval
For a new global Codex installation, run the existing installer without
--force:
python plugins/codex/codex-maestro/skills/codex-maestro/scripts/install.py
Use --link only when the user wants a development checkout to remain the
live source. The installer adds implementation-worker.toml and
exploration-worker.toml. For project scope, copy only the requested skill
directory and, when agents are requested, those two templates to
.codex/agents/. The deprecated run_luna_worker.py script is only a CLI
compatibility entry point; do not install a new luna_worker custom agent.
For Claude, copy or link plugins/claude/maestro/skills/maestro/ to the selected
skills directory and copy the three Markdown definitions from
plugins/claude/maestro/agents/ to the selected agents directory. Refuse replacement
when any destination exists. If the user approves replacement after reviewing
a diff, create a timestamped sibling backup first and verify it before changing
the destination. Recommend Claude Code 2.1.212 or later for the complete
subagent/worktree behavior described by the skill; model availability remains
provider- and organization-dependent.
If the user wants to reuse this setup workflow later, copy or link this
setup-agent-toolkit directory to ~/.agents/skills/setup-agent-toolkit/ only
when that destination is absent. If it exists, apply the same inspect, compare,
preview, approve, and backup rules; never replace it implicitly.
Never install both global and project copies unless requested. Never configure both platforms merely because both sources exist.
Validate and report
After applying changes:
- Verify every destination exists and matches the intended source or approved managed policy block.
- Parse Codex TOML and Claude YAML frontmatter, and confirm implementation workers cannot spawn nested agents while exploration workers are read-only.
- Re-run the policy editor without
--apply; expect no diff. - Confirm backups exist when pre-existing files were changed.
- Tell the user to start a new agent task so skill discovery and base instructions reload.
- Report paths changed, paths intentionally untouched, validation results, backup paths, and the exact rollback operation. Do not claim a model was selected or changed; configuration cannot switch an already-running root model.
To roll back an instruction file, restore the reported backup only after previewing the reverse diff. If the file was newly created, remove only the managed block or file after confirming no other content was added.