Agentify
Agent BuildingagentifyAgentify is an Agent Skill for agent building published in the Mnexa-AI/e2a repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Beta — Deploy the autonomous-repo feedback loop into a GitHub repo. Scaffolds the lane workflows, the runtime skill, and one config file as a reviewed PR, then prints the one-time identity/secret setup checklist. Turns a repo into one that triages incoming feedback into issues and prepares human-gated fix PRs. Use when someone wants to make a repo self-managing / "agentify" it / install the feedback loop.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/Mnexa-AI/e2a/blob/HEAD/plugins/e2a/skills/agentify/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/agentify, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
agentify — deploy the autonomous-repo feedback loop
Beta. This skill is under active development; the setup flow may change and a lower-friction "express" onboarding is being explored.
/agentify installs the framework into a target repo: feedback in →
triaged GitHub issue → human-gated fix PR → filer notified. It bundles the
framework as templates, so installing this plugin is grabbing the
framework. The install lands as a PR the repo owner reviews and merges —
the install itself goes through the same human gate the framework runs on.
Where the tooling lives. The scaffolder and templates ship in this plugin at
${CLAUDE_PLUGIN_ROOT}/skills/agentify/—agentify-render.sh,templates/,references/. Reference them with that variable (it resolves to the plugin's install path); run commands from there.
v0 scope. The full loop ships: triage/intake (email → triaged issue), comms (filer acks + the fix-gate approval email + verified-reply routing), fix + release (the coding agent's human-reviewed PR + the merge→shipped callback), and this deploy flow. The mechanical render is automated (
agentify-render.sh, with a_selftest); the Q&A and the one-time identity/secret setup stay guided. Anupdatemode (re-render preserving the adopter's config tweaks) is the natural follow-on — the render is already idempotent.
What gets scaffolded into the target repo
from ${CLAUDE_PLUGIN_ROOT}/skills/agentify/templates/ | to the target repo |
|---|---|
autonomous-repo.config.yml.tmpl | autonomous-repo.config.yml (the only file the adopter owns) |
runtime-skill/** | .claude/skills/autonomous-repo/** |
scripts/ticket_card.sh | scripts/ticket_card.sh |
workflows/*.yml.tmpl | .github/workflows/*.yml |
Deploy procedure
- Detect. Read the target repo: its
OWNER/REPO, primary language, test command, and CI — used to fill the fix-laneverify_setup_scriptand sensible defaults. - Configure. Ask the adopter the config values and export them as the
ANS_*env varsagentify-render.shreads:ANS_PRODUCT_NAME,ANS_OWNER,ANS_REPO,ANS_MARKER,ANS_REVIEWER_LOGIN,ANS_BOT_LOGIN,ANS_SUPPORT_ADDRESS,ANS_FIX_GATE_MODE(hitlrecommended),ANS_APPROVER_ADDRESS,ANS_VERIFY_SETUP_SCRIPT. (The bot login can be filled later from the checklist; secrets are never gathered here.) - Render. Run
"${CLAUDE_PLUGIN_ROOT}/skills/agentify/agentify-render.sh" --to <target-repo-root>. It fillsautonomous-repo.config.ymlfrom theANS_*answers (failing loudly on any unfilled placeholder) and scaffolds the runtime skill, the scripts, and the four workflows into their real paths (.claude/skills/autonomous-repo/,scripts/,.github/workflows/*.yml). Re-running updates the scaffolded code but PRESERVES an existingautonomous-repo.config.yml(your tunedalways_hitl, the filledbot_login) — pass--forceonly to regenerate the config. Then tune the rendered config'salways_hitllist for the product's sensitive surfaces, and sanity-check:scripts/*.sh _selftestall green and the config parses. Optional addons (${CLAUDE_PLUGIN_ROOT}/skills/agentify/templates/addons/) — e.g.submit-feedback-mcp(asubmit_feedbackMCP tool that email-bridges into the support mailbox) — are opted in viaANS_ADDONS="<name> ..."; the render scaffolds each totools/<name>/and appends its setup toAGENTIFY-ADDON-SETUP.md. Addons are additive; the loop runs without them. - Auto-do the safe parts. Create the labels from
labels.*viagh(feedback,agent-fix,wontfix,feedback-ops, thestatus:*set). - Hand off the rest (print, don't do — see
references/setup-checklist.md): create the GitHub App (bot identity) and setgithub_app_loginin config; create the e2asupport@agent + an agent-scoped API key; add the repo secrets (CLAUDE_CODE_OAUTH_TOKENorANTHROPIC_API_KEY,E2A_API_KEY,AUTOREPO_APP_ID,AUTOREPO_APP_PRIVATE_KEY); enable Actions; set branch protection so the fix lane's PRs require review. Hand over the exact commands/links — never run the auth yourself. - Open the install as a PR. Branch, commit the scaffolded files, open a PR titled "agentify: install the autonomous-repo feedback loop" that summarizes what each file does and links the setup checklist. Do not merge.
After merge + setup
The lanes activate themselves: each no-ops loudly until its secrets exist,
then starts on the next cron tick. Flip the AUTOREPO_LANES_PAUSED repo
variable to pause everything. Run the loop interactively any time with the
autonomous-repo skill ("drain the triage queue").
References
(all under ${CLAUDE_PLUGIN_ROOT}/skills/agentify/references/)
setup-checklist.md— the one-time identity/secret setup.adapters.md— the TicketStore / CommsChannel / Intake adapter contracts and which are implemented.security-invariants.md— the defaults an adopter must not misconfigure away.