ai-baton
v0.7.0Environment-portable Claude Code kit: capability-gated skills and agents, an env fact store, a markdown context DB with a session registry, and a self-audit — one skill set for every machine.
By ai-baton maintainers0 GitHub starsUpdated 2 months ago
Directory evidence
- Runtimes
- Claude Code
- Parsed components
- 28 skill or MCP entries
- Source updated
- Oct 1, 2026
- Manifest status
- Canonical path parsed
The directory validates manifest shape and source location. It does not execute the plugin or provide a security endorsement. Review the indexing methodology →
Install ai-baton for Claude Code
claude plugin marketplace add IchenDEV/agent-plugin-mkt
claude plugin marketplace update agent-plugin-marketplace
claude plugin install ai-baton@agent-plugin-marketplacePaste and run these commands in a terminal with Claude Code. They add and refresh the PluginsMP catalog, then install this plugin.
The installer fetches third-party code from the source repository shown on this page. This directory validates manifest structure and source location, but does not perform a security audit; review the manifest, components, and source before installing.
Get the source manually
git clone https://github.com/MdaaaaO/ai-batonClone the source repository, then follow its setup instructions to add the plugin to a compatible client. The repository root is the plugin root.
Plugin files
├── .claude-plugin/plugin.json├── skills/alerts-sweep/SKILL.md├── skills/aws-sso-login/SKILL.md├── skills/cost-report/SKILL.md├── skills/dbt-sqlfluff-fixes/SKILL.md├── skills/env-init/SKILL.md├── skills/gh-cli/SKILL.md├── skills/kit-health/SKILL.md├── skills/kit-setup/SKILL.md├── skills/notion-page-review/SKILL.md├── skills/pr-event-brief/SKILL.md├── skills/pr-open/SKILL.md├── skills/pr-review/SKILL.md├── skills/pr-scan/SKILL.md├── skills/pr-watch/SKILL.md├── skills/repo-docs/SKILL.md├── skills/self-assessment/SKILL.md├── skills/session-handoff/SKILL.md├── skills/session-register/SKILL.md├── skills/session-retro/SKILL.md├── skills/sign-queue/SKILL.md├── skills/signed-git-commits/SKILL.md├── skills/slack-draft/SKILL.md├── skills/ticket-carousel/SKILL.md├── skills/ticket-close/SKILL.md├── skills/ticket-open/SKILL.md├── skills/ticket-pickup/SKILL.md├── skills/ticket-update/SKILL.md└── .mcp.json
Included Skills27
Sonnet-forked sweep of the airflow-alerts Slack channel: reads all new messages (paginated), classifies each against the pattern KB, returns a state-advance trailer the main session applies, NO-OP when nothing was read, or `NEEDS <system>.<kind> <name>` for a missing fact. Arm with `/loop 20m /alerts-sweep`; never writes.
Get AWS access via the SSO device-code flow: starts `aws sso login --no-browser` in the background, hands the user the URL and code to approve, verifies, then kubectl/aws work. Use whenever aws/kubectl fails with "SSO session … expired or is otherwise invalid" or before any stage/prod AWS or EKS check.
The user's own Claude Code spend against the work shipped: rolling 7 days vs the prior 7, or named phases. Org mode reports billed cost with an aggregate control; private mode estimates from local transcripts. Never names anyone. Invoke as "cost report" or "how efficient was last week".
Recognise and fix the sqlfluff violations that keep recurring in dbt models: WHERE/ON line breaks, OVER-clause-in-OR-chain indent fights, short aliases, AS alignment, nested CASE. Use when writing or editing a dbt .sql model, or when a PR's lint-models check fails and you need the exact reviewdog findings fixed in one CI round.
Fill or refresh this machine's env fact store from the discovery manifests: run the named tool per missing or stale fact, verify, write back with provenance, and ask the user once for what no tool settles. Invoke on a new environment, when a skill stops with `NEEDS <system>.<kind> <name>`, with `--refresh` for stale rows, or with one fact.
Querying GitHub with `gh` without the known traps: auth (native vs proxy token), `--jq` has no `--arg`, search rate limits, `reviewed-by`/`review-requested` semantics, review pagination, `--json` fields older gh lacks, writes that silently fail. Load before non-trivial `gh api`/`search`/`pr` work.
Audits the kit on this machine: frontmatter versioning, env-value leaks, env-store coverage, wiring, an engine smoke. Walks each finding (Fix, Ticket, Accept), reports to `.context/kit-health/`. Run after `make claude_sync`, monthly, and when a skill misbehaves.
Scaffold this workspace for the kit from inside a session: runs the kit's setup.sh --personal here, reports the result, hands over to /kit-health. Use once, right after plugin install.
Reviews a Notion page tree (page, sub-pages, every comment thread) against the user's position, walks each proposed comment (Comment, Update wording, Skip, batches of 4), posts only approved ones as thread replies or inline comments. Invoke when the user asks to "go through", "catch up on" or "comment on" a Notion page.
Sonnet-forked triage of one pr-watch event — reads the PR's reviews, unresolved threads, checks and mergeability and returns a ≤10-line brief with exactly one recommended ACTION. Invoke for every BOT REVIEW / NEW comment / NEW review / CHECK NOT GREEN / HEAD MOVED(drift) line a pr-watch Monitor emits; the main session then performs the action.
Checklist for opening a PR: body with the diagram set derived from the diff, labels in every repo, commit-style check of commits and title, reviewers plus the review bot where configured, pr-watch, tracker link, and the review request (a Slack DRAFT where enabled, never sent). Use when writing a PR body and right after `gh pr create`.
Reviews another's PR as the user: snapshot, repo trap KB, an Opus review pass, walks findings (Post, Deep dive, Body only, Skip), posts one review after approval, replies in threads; a trivial PR auto-approves via Sonnet. For PRs pr-scan surfaces or the user names; never the user's own.
Sonnet-forked sweep for the review queue: direct and CODEOWNERS team requests, then open PRs in configured repos minus bots, drafts, stale, already-reviewed heads. Returns a ≤8-row table (review state, threads, bot verdict, trivial PRs flagged `A`, `AUTO:` line) or exactly NO-OP. Arm with `/loop 2h /pr-scan`; hand a row to `pr-review`.
Low-noise PR watch: one Monitor per repo per session surfaces only actionable events (review-bot verdict, others' reviews/comments, a settled red check, head moves, merge/close), keeps waiting branches updated with base, merges via `pr-merge.sh` once gates hold. Park rule: sign-off, idle windows, human gate. For every PR your session owns.
Write or restructure a repo's README.md and CONTRIBUTING.md in the house style — badges, a short pitch, code on the first screen, tables over prose, detail linked to docs/ — measured by readme-check.py. Use when a README reads as a wall of text or a repo goes public. Not for docs/ pages or CHANGELOGs.
Composes the user's weekly self-assessment for a past ISO week or range from `.context/` and the systems of record, never live sessions: the week file plus the report block and ledger card the env config asks for, back-filled where `.context/` lacks coverage. Invoke as "self-assessment for last week" or "for W37".
Flushes durable knowledge before a session ends or a ticket/PR/epic step lands: context doc, priorities, indexes, session stats (context doc, session file, cross-session ledger), and the paste-ready next-session prompt. Invoke when finishing work, before ending a session, or on "wrap up / hand off / update context".
Register this session in the live registry (`.context/SESSION_INDEX.md`) and keep its heartbeat fresh (each refreshes the row's stats line). Invoke at the start of any session working an epic/feature, when responsibilities change, on every flush, and before ending. Read the registry to see which session owns an epic, PR or worktree.
Sonnet-forked self-check of this session against the kit: corrections, denials, failures and rule slips from the transcript, each judged kit gap or session slip. Use when winding down after session-handoff, or on "run a retro" / "did I follow the kit?". Not for the weekly self-assessment or the handoff.
Shared queue for commits that must be GPG/SSH-signed and pushed by the user on the host: a session enqueues a job (worktree, branch, message file, flags), the user drains it with one command. Use for every commit or push in a signed-commits repo; never paste git one-liners. Inert where `systems.signed_commits` is false.
Discipline behind signed/SSH commits where the editing machine cannot sign or push: worktree-first branching, exact staging, message-to-file, rebase signing quirks, gh-token prefix. Hand-off runs through `sign-queue`, never pasted git commands. Read when committing/pushing in a repo with a signed-commits ruleset (`systems.signed_commits`).
Lifecycle of every Slack message a session drafts for the user: create it as a draft (never paste text), record it, and READ the channel or thread before any follow-up, recreate or status claim, because the user edits drafts before sending. Invoke on every `slack_send_message_draft`, before calling a draft "pending", and when resuming one.
Turns candidates (a list, free text, or a repo/URL to mine) into tickets one at a time: draft, dedup, Submit / Merge / Skip, before any is created via ticket-open. Invoke when asked to turn a landscape read, retro or idea list into tickets.
Checklist for closing a ticket in the environment's tracker (Jira or GitHub issues): a final outcome comment (Delivered / Verified / Out-of-scope), the right transition or close reason (Done / Won't Do / Cancelled), the delivering PRs linked, the context-doc flush. Invoke when a ticket's work is finished, decided against, or abandoned.
Checklist every session follows when it CREATES a ticket in the environment's tracker (Jira or GitHub issues): placement, labels, epic/parent link, a lean opening block (Goal/Plan/Links/Sizing), and the matching .context/ doc. The tracker analogue of pr-open. Invoke right before/after creating it.
Verifies a ticket's Sizing line against the default branch, decides main session vs a background sub-agent and model, sizes a missing line, and claims the ticket. Use when picking up, starting or resuming a tracker ticket. Not for creating one (`ticket-open`) or posting a progress update (`ticket-update`).
How a session posts a progress update on a tracker ticket (Jira or GitHub issues): one lean, dated DELTA comment (Win / Pivot / Next / Verified), label and status sync, and an optional durable pointer to the thread or PR; never a restatement of earlier comments. Invoke whenever a ticket step lands or direction changes.
MCP servers1
- command
- python3
- args
- ${CLAUDE_PLUGIN_ROOT}/context-db/bin/ctx_adapter.py mcp
MCP configuration uses runtime-provided plugin path placeholders such as ${PLUGIN_ROOT} or ${CLAUDE_PLUGIN_ROOT}. Review the manifest for the runtime-specific expansion rules.
Plugin manifests1
{
"name": "ai-baton",
"displayName": "Claude Code workspace kit",
"version": "0.7.0",
"description": "Environment-portable Claude Code kit: capability-gated skills and agents, an env fact store, a markdown context DB with a session registry, and a self-audit — one skill set for every machine.",
"author": {
"name": "ai-baton maintainers",
"url": "https://github.com/MdaaaaO/ai-baton"
},
"homepage": "https://github.com/MdaaaaO/ai-baton",
"repository": "https://github.com/MdaaaaO/ai-baton",
"keywords": [
"workspace",
"skills",
"env-facts",
"context-db",
"session-registry",
"kit-health"
],
"experimental": {
"evals": "evals"
},
"mcpServers": {
"ctx": {
"command": "python3",
"args": [
"${CLAUDE_PLUGIN_ROOT}/context-db/bin/ctx_adapter.py",
"mcp"
]
}
},
"userConfig": {
"user_name": {
"type": "string",
"title": "Your name",
"description": "How skills address and stamp you (WORKSPACE_USER): sign-queue --by, the self-assessment ledger eyebrow. Never written into the kit.",
"required": true
},
"github_login": {
"type": "string",
"title": "GitHub login",
"description": "Your GitHub login (WORKSPACE_GITHUB_LOGIN): pr-watch drops your own events, cost-report and self-assessment query author:<login>.",
"required": true
},
"tz": {
"type": "string",
"title": "Timezone (IANA)",
"description": "The zone timestamps render in (WORKSPACE_TZ): an IANA Region/City name, not an abbreviation like EDT. UTC when empty or unknown.",
"default": "UTC"
},
"slack_self_dm": {
"type": "string",
"title": "Chat self-DM channel id",
"description": "Your own chat DM channel id (WORKSPACE_SLACK_SELF_DM), where a draft skill parks text for you. Optional; needs systems.slack in the env store.",
"sensitive": true
},
"slack_lattice_dm": {
"type": "string",
"title": "Performance-review bot DM channel id",
"description": "The chat DM your performance-review tool's bot posts in (WORKSPACE_SLACK_LATTICE_DM), read by the self-assessment skill. Optional; needs systems.slack in the env store.",
"sensitive": true
}
}
}For maintainers
If you maintain this plugin, link to this source-backed listing from your README so users can review its manifest and indexed components.
[ai-baton on Agent Plugins Marketplace](https://pluginsmp.com/plugins/ai-baton)