# Manage Agent Kit

> Audit, initialize, upgrade, synchronize, discover, and safely curate a shared Agent Skills repository across Claude Code, Codex, Qwen Code, OpenCode, Pi, OpenClaw, and compatible hosts. Use when setting up a machine or server, finding top GitHub skills, checking skill or upstream drift, adding or updating a skill, integrating CC Switch, resolving cross-agent installation conflicts, or reviewing whether agent configuration is safe to publish.

- Skill: `cubxxw/manage-agent-kit` (Agent Skill, multi-file: 4 files)
- Install (CLI): `npx skillmds@latest add cubxxw/manage-agent-kit`
- Raw SKILL.md: https://api.skillmd.com/api/skills/cubxxw/manage-agent-kit/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: cubxxw (https://skillmd.com/u/cubxxw)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/cubxxw/manage-agent-kit

---


# Manage Agent Kit

Treat the checked-out `agent-kit` repository as the canonical source. Agent
hosts receive views of the same skill directories through symlinks.

## Start with evidence

1. Run `./bin/agent-kit doctor --strict`.
2. Run `./bin/agent-kit status --profile full-stack --tool core`.
3. Inspect `catalog.json` before proposing changes.
4. Read [references/operations.md](references/operations.md) for the relevant
   operation.

Do not silently replace a real directory or a symlink owned by another tool.
Report the exact conflict and preserve it.

## Install or repair links

Use the smallest applicable profile:

- `base`: only this management skill.
- `developer`: source-grounded engineering and agent infrastructure.
- `design`: recursive direction branching, UI/UX evidence, and frontend
  preflight.
- `full-stack`: recommended personal workstation.
- `top`: every broadly useful skill that passed the full adoption gate.
- `all`: compatibility alias for `top`.

Preview first:

```sh
./bin/agent-kit install --profile full-stack --tool core --dry-run
```

Then install. Use `--replace-managed` only for stale symlinks that already
point into this checkout. It must never replace copied files or foreign links.

## Curate a new skill

Read the checkout’s
[`docs/top-skills.md`](https://github.com/cubxxw/agent-kit/blob/main/docs/top-skills.md)
before broad discovery. It separates adopted, on-demand, and discovery-only
sources.

Accept a skill only when all gates pass:

1. It solves a repeated, current task with clear marginal value.
2. It does not duplicate a host-provided or already installed capability.
3. Its source is attributable, actively maintained, and pinned to a full
   commit SHA.
4. Its redistribution license is explicit. Do not vendor an unlicensed skill.
5. Read every executable file and inspect network, credential, and destructive
   behavior.
6. Add it to `catalog.json` and the narrowest profile.
7. Run the creator validator when first-party skill instructions change.
8. Run the repository tests, `doctor --strict`, and the public safety scan.
9. Install it into the intended hosts and verify every link resolves to the
   same target.

Record rejected or deferred candidates in `docs/skill-selection.md`; this keeps
the catalog small without losing the research.

## Discover top skills

Treat rankings and awesome lists as candidate generators:

1. Search official or product-owned repositories first.
2. Use GitHub activity and `skills.sh` installs only as discovery signals.
3. Identify the narrow skill directory that matches a repeated current need.
4. Compare its triggers against the installed catalog.
5. Return an adoption, on-demand, watch, or reject decision with evidence.
6. Update `docs/top-skills.md` without installing anything unless the full
   curation gate passes.

Never bulk-install a pack because it is popular, official, or listed in the
radar.

## Update a vendored skill

Run `scripts/check_upstreams.py`. If an update exists:

1. Review upstream commits between the pinned and proposed SHAs.
2. Run `scripts/update_vendor.py <skill> --ref <reviewed-full-sha>`.
3. Review the entire vendor diff, especially scripts and dependencies.
4. Re-run all validation and security gates.

Never auto-merge upstream skill changes.

## Public boundary

Never commit credentials, auth state, transcripts, memories, machine-local
overrides, private Brain content, or absolute personal home paths. Public
templates may name environment variables but may not contain their values.

Keep model choice, OAuth state, API tokens, and per-machine approvals local.
Only portable instructions, skills, hook logic, safe templates, source pins,
and license evidence belong here.

## Completion criteria

Finish only when:

- repository validation passes;
- no public-boundary finding remains;
- every selected skill is linked into the intended agent directories;
- all managed links resolve to one canonical source;
- conflicts, deferred candidates, radar status, and upstream pins are explicit.

