You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/spec/skills-specification.md
+86-15Lines changed: 86 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
# MaxsimCLI Skills Specification
2
2
3
-
**Version:**5.0
4
-
**Date:** 2026-03-22
5
-
**Status:** Authoritative design spec for the 14-skill target state
3
+
**Version:**6.0
4
+
**Date:** 2026-03-26
5
+
**Status:** Authoritative design spec for the 15-skill target state
6
6
7
-
This document defines the exact content structure for each of the 14 MaxsimCLI skills. Each entry covers: Anthropic-compliant name and description, section outline with key content, agent preload assignments, cross-skill references, and estimated line count.
7
+
This document defines the exact content structure for each of the 15 MaxsimCLI skills. Each entry covers: Anthropic-compliant name and description, section outline with key content, agent preload assignments, cross-skill references, and estimated line count.
8
8
9
9
---
10
10
@@ -38,8 +38,9 @@ All skills follow Anthropic's Claude Code skill conventions:
38
38
| 10 |`github-operations`| Agent-internal | NEW — merge of 2 existing skills |
39
39
| 11 |`research`| Agent-internal | NEW — merge of 2 existing skills |
40
40
| 12 |`project-memory`| User-facing | NEW skill |
41
-
| 13 |`using-maxsim`| User-facing | UPDATE for v5 commands |
41
+
| 13 |`using-maxsim`| User-facing | UPDATE for v6 commands |
@@ -649,7 +650,7 @@ Preloaded by **researcher** agent. Listed as an on-demand skill for planner agen
649
650
650
651
### Rationale for Creation
651
652
652
-
The existing `memory-management` skill defines a local-file-based persistence model (CLAUDE.md, STATE.md, LESSONS.md). In v5, MAXSIM uses GitHub Issues as the single source of truth for project artifacts. A new skill is needed that: (1) establishes GitHub Issues as the canonical store for cross-session learnings, (2) defines what categories of knowledge to persist, (3) specifies the GitHub-native write pattern, and (4) explains the relationship between local files and GitHub state. This replaces `memory-management` in the 14-skill target set.
653
+
The existing `memory-management` skill defines a local-file-based persistence model (CLAUDE.md, STATE.md, LESSONS.md). In v5, MAXSIM uses GitHub Issues as the single source of truth for project artifacts. A new skill is needed that: (1) establishes GitHub Issues as the canonical store for cross-session learnings, (2) defines what categories of knowledge to persist, (3) specifies the GitHub-native write pattern, and (4) explains the relationship between local files and GitHub state. This replaces `memory-management` in the 15-skill target set.
653
654
654
655
### Frontmatter
655
656
@@ -736,7 +737,7 @@ Not preloaded. User-invocable on-demand. Executor agent may receive it via orche
736
737
737
738
---
738
739
739
-
## Skill 13: `using-maxsim`*(UPDATE for v5)*
740
+
## Skill 13: `using-maxsim`*(UPDATE for v6)*
740
741
741
742
### Frontmatter
742
743
@@ -752,7 +753,7 @@ description: >-
752
753
753
754
### Disposition
754
755
755
-
Update to accurately reflect the v5 command surface (9 commands) and the 14-skill target set. The current skill references outdated skill names (`verification-before-completion`, `sdd`, `memory-management`) that do not exist in the target state. The routing table and agent model sections are correct. The skills table needs to be updated.
756
+
Update to accurately reflect the v6 command surface (13 commands) and the 15-skill target set. The current skill references outdated skill names (`verification-before-completion`, `sdd`, `memory-management`) that do not exist in the target state. The routing table and agent model sections are correct. The skills table needs to be updated.
756
757
757
758
### Section Outline
758
759
@@ -763,7 +764,7 @@ Update to accurately reflect the v5 command surface (9 commands) and the 14-skil
5.**Agent Model (4 agents)** — keep existing table (executor / planner / researcher / verifier) — this is correct in the current skill
783
-
6.**Skills***(UPDATE — replace old skill names with v5 target names)*:
788
+
6.**Skills***(UPDATE — replace old skill names with v6 target names)*:
784
789
785
790
| Skill | When It Activates |
786
791
|-------|-------------------|
@@ -806,7 +811,7 @@ Not preloaded. User-invocable on-demand (this is the orientation/routing skill f
806
811
- Check the routing table before starting any task — do not proceed ad-hoc
807
812
- Explicit user approval required before working outside the current phase
808
813
- STATE.md checkpoints from previous sessions must be acknowledged before proceeding
809
-
- The 9-command surface is complete — there is no other entry point for MAXSIM work
814
+
- The 13-command surface is complete — there is no other entry point for MAXSIM work
810
815
811
816
### Estimated Line Count
812
817
@@ -866,6 +871,71 @@ Not preloaded. User-invocable on-demand. Verifier agent may receive it as a sugg
866
871
867
872
---
868
873
874
+
## Skill 15: `autoresearch`*(NEW)*
875
+
876
+
### Rationale for Creation
877
+
878
+
v6 introduces four autonomous loop commands (`/maxsim:improve`, `/maxsim:fix-loop`, `/maxsim:debug-loop`, `/maxsim:security`) that share a common constraint-driven iteration pattern: modify, verify, keep or discard, repeat. Rather than embedding the loop protocol in each command's agent prompt, a dedicated skill centralizes the iteration mechanics, decision rules, and results-logging format. Six reference workflows in `references/` provide domain-specific protocols that the skill dispatches to based on the command invoked.
879
+
880
+
### Frontmatter
881
+
882
+
```yaml
883
+
---
884
+
name: autoresearch
885
+
description: >-
886
+
Autonomous optimization loop with reference workflows. Powers /maxsim:improve,
887
+
/maxsim:fix-loop, /maxsim:debug-loop, /maxsim:security. Used when running
888
+
autonomous optimization, error repair, bug hunting, or security audit loops.
889
+
---
890
+
```
891
+
892
+
### Section Outline
893
+
894
+
1.**When to Activate** — trigger table mapping each of the 4 commands plus general "repeated iteration with measurable outcomes" trigger
Not preloaded. User-invocable on-demand. Activates when any of the 4 autonomous loop commands is invoked (`/maxsim:improve`, `/maxsim:fix-loop`, `/maxsim:debug-loop`, `/maxsim:security`).
922
+
923
+
### Key Behavioral Rules
924
+
925
+
- One change per iteration — atomic changes for clear causality
926
+
- Mechanical verification only — no subjective judgments, use metrics
927
+
- Automatic rollback on failure — `git revert` (not `git reset --hard`) preserves experiment history
928
+
- Every experiment committed with `experiment:` prefix before verification
929
+
- Results log updated after every iteration — no silent iterations
930
+
- Bounded loops stop after N iterations and print a final summary
931
+
- Security audit is read-only by default — `--fix` flag required to auto-remediate
0 commit comments