#2617
feat: add min-agent support
Summary
Registers min-agent so skills add installs skills where min-agent actually reads them.
min-agent (website) natively reads the Agent Skills locations .agents/skills/ (project) and ~/.agents/skills/ (global), exactly like Codex, Pi, fx, Warp, Zed etc. So this PR adds it as a universal agent — no agent-specific mirror directories, no duplicated symlinks.
Its own config home ~/.min-agent (overridable via MIN_AGENT_CONFIG_DIR) stores settings, sessions and the enabled-skill state file — never skills — so it is used for install detection only.
Changes
src/agents.ts: newmin-agententry — universal.agents/skillspaths, detected via the resolved config home (MIN_AGENT_CONFIG_DIRor~/.min-agent), mirroring theGROK_HOME/SARVAM_HOMEenv-override patternsrc/types.ts:min-agentAgentTypeunion membersrc/use.ts: launchmin-agentforskills use --agent min-agentREADME.md,docs/agents.md,package.jsonkeywords: regenerated withscripts/sync-agents.tstests/min-agent.test.ts: registry paths, universal classification,MIN_AGENT_CONFIG_DIRdetection,--agentparsing
Verification
node scripts/validate-agents.ts— all agents validtsc --noEmit— cleanvitest run tests/min-agent.test.ts— 5 passedprettier --check— clean- Full suite: the only failures are the 6 pre-existing
tests/invalid-local-lock.test.tsfailures, identical on unmodifiedmain(local-machine issue, same exposure noted in #2554); all other 1051 tests pass
Docs: min-agent reads skills from .agents/skills/ in the working directory and ~/.agents/skills/ globally; its config dir is MIN_AGENT_CONFIG_DIR ?? ~/.min-agent.