oh-my-customcodex 0.3.2 → 0.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -16
- package/dist/cli/index.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/templates/.claude/hooks/hooks.json +10 -0
- package/templates/.claude/hooks/scripts/adaptive-harness-scan.sh +3 -3
- package/templates/.claude/hooks/scripts/claude-sensitive-path-guard.sh +39 -0
- package/templates/.claude/rules/MUST-continuous-improvement.md +1 -1
- package/templates/.claude/rules/MUST-sync-verification.md +3 -3
- package/templates/.claude/rules/SHOULD-wiki-sync.md +6 -6
- package/templates/.claude/skills/adaptive-harness/SKILL.md +11 -11
- package/templates/.claude/skills/agora/SKILL.md +5 -5
- package/templates/.claude/skills/analysis/SKILL.md +3 -3
- package/templates/.claude/skills/audit-agents/SKILL.md +1 -1
- package/templates/.claude/skills/claude-native/SKILL.md +5 -5
- package/templates/.claude/skills/create-agent/SKILL.md +1 -1
- package/templates/.claude/skills/dev-refactor/SKILL.md +3 -3
- package/templates/.claude/skills/evaluator-optimizer/SKILL.md +1 -1
- package/templates/.claude/skills/fix-refs/SKILL.md +1 -1
- package/templates/.claude/skills/harness-eval/SKILL.md +4 -4
- package/templates/.claude/skills/help/SKILL.md +1 -1
- package/templates/.claude/skills/lists/SKILL.md +1 -1
- package/templates/.claude/skills/monitoring-setup/SKILL.md +1 -1
- package/templates/.claude/skills/npm-audit/SKILL.md +1 -1
- package/templates/.claude/skills/npm-publish/SKILL.md +1 -1
- package/templates/.claude/skills/npm-version/SKILL.md +1 -1
- package/templates/.claude/skills/omcodex-auto-improve/SKILL.md +4 -4
- package/templates/.claude/skills/omcodex-feedback/SKILL.md +10 -10
- package/templates/.claude/skills/omcodex-improve-report/SKILL.md +2 -2
- package/templates/.claude/skills/omcodex-loop/SKILL.md +4 -4
- package/templates/.claude/skills/omcodex-release-notes/SKILL.md +5 -5
- package/templates/.claude/skills/omcodex-takeover/SKILL.md +4 -4
- package/templates/.claude/skills/omcodex-web/SKILL.md +4 -4
- package/templates/.claude/skills/sauron-watch/SKILL.md +1 -1
- package/templates/.claude/skills/scout/SKILL.md +1 -1
- package/templates/.claude/skills/status/SKILL.md +1 -1
- package/templates/.claude/skills/update-docs/SKILL.md +1 -1
- package/templates/.claude/skills/update-external/SKILL.md +1 -1
- package/templates/.claude/skills/wiki/SKILL.md +9 -9
- package/templates/.claude/skills/wiki-rag/SKILL.md +6 -6
- package/templates/AGENTS.md.en +22 -22
- package/templates/AGENTS.md.ko +22 -22
- package/templates/CLAUDE.md +12 -12
- package/templates/CLAUDE.md.en +22 -22
- package/templates/CLAUDE.md.ko +22 -22
- package/templates/manifest.json +2 -2
package/README.md
CHANGED
|
@@ -175,29 +175,29 @@ All commands are invoked inside the oh-my-customcodex GPT Codex + OMX session.
|
|
|
175
175
|
|
|
176
176
|
| Command | What it does |
|
|
177
177
|
|---------|-------------|
|
|
178
|
-
| `/
|
|
179
|
-
| `/
|
|
180
|
-
| `/
|
|
178
|
+
| `/omcustomcodex:analysis` | Analyze project, auto-configure agents and skills |
|
|
179
|
+
| `/omcustomcodex:create-agent` | Create a new agent |
|
|
180
|
+
| `/omcustomcodex:takeover` | Extract canonical spec from existing agent or skill |
|
|
181
181
|
| `/idea` | Turn a natural-language idea into structured issue specs |
|
|
182
|
-
| `/
|
|
183
|
-
| `/
|
|
184
|
-
| `/
|
|
185
|
-
| `/
|
|
182
|
+
| `/omcustomcodex:audit-agents` | Audit agent dependencies |
|
|
183
|
+
| `/omcustomcodex:update-docs` | Sync project structure and documentation |
|
|
184
|
+
| `/omcustomcodex:sauron-watch` | Full structural verification (5+3 rounds) |
|
|
185
|
+
| `/omcustomcodex:feedback` | Submit feedback as GitHub issue |
|
|
186
186
|
|
|
187
187
|
### Web UI
|
|
188
188
|
|
|
189
189
|
| Command | What it does |
|
|
190
190
|
|---------|-------------|
|
|
191
|
-
| `/
|
|
191
|
+
| `/omcustomcodex:web` | Control built-in Web UI (start, stop, status, open) |
|
|
192
192
|
|
|
193
193
|
### Package & Release
|
|
194
194
|
|
|
195
195
|
| Command | What it does |
|
|
196
196
|
|---------|-------------|
|
|
197
|
-
| `/
|
|
198
|
-
| `/
|
|
199
|
-
| `/
|
|
200
|
-
| `/
|
|
197
|
+
| `/omcustomcodex:npm-publish` | Publish to npm |
|
|
198
|
+
| `/omcustomcodex:npm-version` | Semantic versioning |
|
|
199
|
+
| `/omcustomcodex:npm-audit` | Dependency security audit |
|
|
200
|
+
| `/omcustomcodex-release-notes` | Generate release notes from git history |
|
|
201
201
|
|
|
202
202
|
### Memory & System
|
|
203
203
|
|
|
@@ -205,11 +205,11 @@ All commands are invoked inside the oh-my-customcodex GPT Codex + OMX session.
|
|
|
205
205
|
|---------|-------------|
|
|
206
206
|
| `/memory-save` | Save session context |
|
|
207
207
|
| `/memory-recall` | Search and recall memories |
|
|
208
|
-
| `/
|
|
208
|
+
| `/omcustomcodex:monitoring-setup` | OTel monitoring toggle |
|
|
209
209
|
| `/token-efficiency-audit` | Audit and tune token-efficiency settings |
|
|
210
|
-
| `/
|
|
211
|
-
| `/
|
|
212
|
-
| `/
|
|
210
|
+
| `/omcustomcodex:loop` | Auto-continue background agent workflows (3-continue safety limit) |
|
|
211
|
+
| `/omcustomcodex:lists` | Show all commands |
|
|
212
|
+
| `/omcustomcodex:status` | System health check |
|
|
213
213
|
|
|
214
214
|
---
|
|
215
215
|
|
package/dist/cli/index.js
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -82,6 +82,16 @@
|
|
|
82
82
|
],
|
|
83
83
|
"description": "Schema-based tool input validation — Phase 1 advisory only"
|
|
84
84
|
},
|
|
85
|
+
{
|
|
86
|
+
"matcher": "tool == \"Bash\" && tool_input.command matches \"\\\\.claude/\"",
|
|
87
|
+
"hooks": [
|
|
88
|
+
{
|
|
89
|
+
"type": "command",
|
|
90
|
+
"command": "bash .codex/hooks/scripts/claude-sensitive-path-guard.sh"
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
"description": "Block Bash writes into .claude/ sensitive paths before Claude Code permission prompts fire"
|
|
94
|
+
},
|
|
85
95
|
{
|
|
86
96
|
"matcher": "tool == \"Bash\"",
|
|
87
97
|
"hooks": [
|
|
@@ -13,14 +13,14 @@ if [ -f "$PROJECT_ROOT/.codex/skills/adaptive-harness/SKILL.md" ] && \
|
|
|
13
13
|
grep -q "oh-my-customcodex" "$PROJECT_ROOT/AGENTS.md" 2>/dev/null; then
|
|
14
14
|
# Only check if profile exists for the meta-project
|
|
15
15
|
if [ ! -f "$PROFILE" ]; then
|
|
16
|
-
echo "[adaptive-harness] No project profile found. Run /
|
|
16
|
+
echo "[adaptive-harness] No project profile found. Run /omcustomcodex:adaptive-harness --scan to generate." >&2
|
|
17
17
|
fi
|
|
18
18
|
exit 0
|
|
19
19
|
fi
|
|
20
20
|
|
|
21
21
|
# For non-omcodex projects
|
|
22
22
|
if [ ! -f "$PROFILE" ]; then
|
|
23
|
-
echo "[adaptive-harness] No project profile found. Run /
|
|
23
|
+
echo "[adaptive-harness] No project profile found. Run /omcustomcodex:adaptive-harness --scan to auto-configure harness." >&2
|
|
24
24
|
exit 0
|
|
25
25
|
fi
|
|
26
26
|
|
|
@@ -39,7 +39,7 @@ for indicator in package.json go.mod Cargo.toml requirements.txt pyproject.toml
|
|
|
39
39
|
done
|
|
40
40
|
|
|
41
41
|
if [ "$STALE" = true ]; then
|
|
42
|
-
echo "[adaptive-harness] Project profile may be stale. Consider running /
|
|
42
|
+
echo "[adaptive-harness] Project profile may be stale. Consider running /omcustomcodex:adaptive-harness --scan" >&2
|
|
43
43
|
fi
|
|
44
44
|
|
|
45
45
|
exit 0
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
# Block Bash write operations targeting .claude/ sensitive paths.
|
|
3
|
+
# Claude Code can surface a sensitive-file permission prompt before allow rules
|
|
4
|
+
# or bypassPermissions are evaluated, so fail fast before the command runs.
|
|
5
|
+
|
|
6
|
+
set -euo pipefail
|
|
7
|
+
|
|
8
|
+
command -v jq >/dev/null 2>&1 || exit 0
|
|
9
|
+
|
|
10
|
+
input=$(cat)
|
|
11
|
+
cmd=$(echo "$input" | jq -r '.tool_input.command // ""')
|
|
12
|
+
|
|
13
|
+
if [ -z "$cmd" ]; then
|
|
14
|
+
echo "$input"
|
|
15
|
+
exit 0
|
|
16
|
+
fi
|
|
17
|
+
|
|
18
|
+
targets_claude=0
|
|
19
|
+
if [[ "$cmd" =~ \.claude/ ]]; then
|
|
20
|
+
targets_claude=1
|
|
21
|
+
fi
|
|
22
|
+
|
|
23
|
+
writes_claude=0
|
|
24
|
+
if [[ "$cmd" =~ (^|[[:space:]])(cp|mv|install|rsync|tee|touch|mkdir|ln)[[:space:]] ]]; then
|
|
25
|
+
writes_claude=1
|
|
26
|
+
elif [[ "$cmd" =~ sed[[:space:]]+-i ]] || [[ "$cmd" =~ perl[[:space:]]+-pi ]]; then
|
|
27
|
+
writes_claude=1
|
|
28
|
+
elif [[ "$cmd" =~ [\>]{1,2}[[:space:]]*[^[:space:]]*\.claude/ ]]; then
|
|
29
|
+
writes_claude=1
|
|
30
|
+
fi
|
|
31
|
+
|
|
32
|
+
if [ "$targets_claude" -eq 1 ] && [ "$writes_claude" -eq 1 ]; then
|
|
33
|
+
echo "[Hook] BLOCKED: Bash write targeting .claude/ sensitive path" >&2
|
|
34
|
+
echo "[Hook] Command: $cmd" >&2
|
|
35
|
+
echo "[Hook] Use Write/Edit or the repo's managed sync/update path instead of Bash for .claude/ changes." >&2
|
|
36
|
+
exit 2
|
|
37
|
+
fi
|
|
38
|
+
|
|
39
|
+
echo "$input"
|
|
@@ -43,7 +43,7 @@ When CI failure, process gap, or repeatable system defect is found:
|
|
|
43
43
|
|
|
44
44
|
When repeating agent failures or suboptimal routing is detected:
|
|
45
45
|
1. Record as feedback memory (immediate session defense)
|
|
46
|
-
2. Run `/
|
|
46
|
+
2. Run `/omcustomcodex:adaptive-harness --learn` to update project profile with failure patterns
|
|
47
47
|
3. Profile updates improve future agent selection and harness optimization
|
|
48
48
|
|
|
49
49
|
This connects R016's continuous improvement loop with the adaptive-harness skill's learning capability.
|
|
@@ -32,9 +32,9 @@ Also run: mgr-claude-code-bible:verify (official spec compliance)
|
|
|
32
32
|
|
|
33
33
|
| Check | Action |
|
|
34
34
|
|-------|--------|
|
|
35
|
-
| Missing pages | Source entities without wiki pages → run `/
|
|
36
|
-
| Stale pages | Source modification date newer than wiki `updated` field → run `/
|
|
37
|
-
| Broken cross-refs | Wiki links pointing to non-existent pages → run `/
|
|
35
|
+
| Missing pages | Source entities without wiki pages → run `/omcustomcodex:wiki` |
|
|
36
|
+
| Stale pages | Source modification date newer than wiki `updated` field → run `/omcustomcodex:wiki ingest <path>` |
|
|
37
|
+
| Broken cross-refs | Wiki links pointing to non-existent pages → run `/omcustomcodex:wiki lint` |
|
|
38
38
|
| index.md accuracy | Wiki index page count matches actual page count |
|
|
39
39
|
|
|
40
40
|
Wiki verification is also enforced by CI (`.github/workflows/wiki-sync.yml`).
|
|
@@ -17,15 +17,15 @@ When agents, skills, rules, or guides are created or modified, corresponding wik
|
|
|
17
17
|
| Rule created/modified | Update wiki/rules/r{nnn}.md |
|
|
18
18
|
| Guide created/modified | Update wiki/guides/{name}.md |
|
|
19
19
|
| Architecture change | Update wiki/architecture/ pages |
|
|
20
|
-
| Multiple changes | Run `/
|
|
20
|
+
| Multiple changes | Run `/omcustomcodex:wiki` for full update |
|
|
21
21
|
|
|
22
22
|
## How to Sync
|
|
23
23
|
|
|
24
24
|
| Method | When |
|
|
25
25
|
|--------|------|
|
|
26
|
-
| `/
|
|
27
|
-
| `/
|
|
28
|
-
| `/
|
|
26
|
+
| `/omcustomcodex:wiki ingest <path>` | Single file/directory changed |
|
|
27
|
+
| `/omcustomcodex:wiki` | Multiple files changed or periodic refresh |
|
|
28
|
+
| `/omcustomcodex:wiki lint` | After major structural changes |
|
|
29
29
|
| Automatic (CI) | `.github/workflows/wiki-sync.yml` checks on PR |
|
|
30
30
|
|
|
31
31
|
## Delegation — All wiki writes via wiki-curator agent (R010). See workflow via Read tool.
|
|
@@ -59,7 +59,7 @@ Orchestrator
|
|
|
59
59
|
|
|
60
60
|
## CI Enforcement
|
|
61
61
|
|
|
62
|
-
`.github/workflows/wiki-sync.yml` checks for missing wiki pages on every PR. Missing pages cause CI failure with guidance to run `/
|
|
62
|
+
`.github/workflows/wiki-sync.yml` checks for missing wiki pages on every PR. Missing pages cause CI failure with guidance to run `/omcustomcodex:wiki`.
|
|
63
63
|
|
|
64
64
|
## Self-Check — 3 checks: wiki pages updated, index refreshed, lint passed. See details via Read tool.
|
|
65
65
|
|
|
@@ -69,5 +69,5 @@ Before completing a session that modified agents/skills/rules/guides:
|
|
|
69
69
|
2. Was index.md refreshed?
|
|
70
70
|
3. Did wiki lint pass?
|
|
71
71
|
|
|
72
|
-
If any NO → run `/
|
|
72
|
+
If any NO → run `/omcustomcodex:wiki ingest` for affected paths.
|
|
73
73
|
-->
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name:
|
|
2
|
+
name: omcustomcodex:adaptive-harness
|
|
3
3
|
description: Auto-detect project context and optimize harness — deactivate unused agents/skills, suggest missing experts, generate project profile
|
|
4
4
|
scope: harness
|
|
5
5
|
version: 1.0.0
|
|
@@ -15,13 +15,13 @@ Automatically detects project context and optimizes the oh-my-customcodex harnes
|
|
|
15
15
|
## Usage
|
|
16
16
|
|
|
17
17
|
```
|
|
18
|
-
/
|
|
19
|
-
/
|
|
20
|
-
/
|
|
21
|
-
/
|
|
22
|
-
/
|
|
23
|
-
/
|
|
24
|
-
/
|
|
18
|
+
/omcustomcodex:adaptive-harness # Full scan + optimize
|
|
19
|
+
/omcustomcodex:adaptive-harness --scan # Scan only (generate/update project profile)
|
|
20
|
+
/omcustomcodex:adaptive-harness --optimize # Deactivate unused, suggest missing
|
|
21
|
+
/omcustomcodex:adaptive-harness --learn # Analyze failure patterns, update profile
|
|
22
|
+
/omcustomcodex:adaptive-harness --export # Export profile as portable bundle
|
|
23
|
+
/omcustomcodex:adaptive-harness --import <path> # Import profile from another project
|
|
24
|
+
/omcustomcodex:adaptive-harness --dry-run # Show what would change without modifying
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
Default (no flag): runs `--scan` then `--optimize` in sequence.
|
|
@@ -234,7 +234,7 @@ Analyzes session history and eval-core data to populate `usage_stats` and `failu
|
|
|
234
234
|
|
|
235
235
|
- `.codex/outputs/` — session artifacts and eval results
|
|
236
236
|
- `.codex/agent-memory/` — agent memory files with usage patterns
|
|
237
|
-
- Any harness eval output from `/
|
|
237
|
+
- Any harness eval output from `/omcustomcodex:harness-eval`
|
|
238
238
|
|
|
239
239
|
### Step 2: Extract Patterns
|
|
240
240
|
|
|
@@ -301,7 +301,7 @@ Output: `.codex/outputs/harness-bundle-YYYY-MM-DD.json`
|
|
|
301
301
|
### Import
|
|
302
302
|
|
|
303
303
|
```
|
|
304
|
-
/
|
|
304
|
+
/omcustomcodex:adaptive-harness --import .codex/outputs/harness-bundle-2026-04-12.json
|
|
305
305
|
```
|
|
306
306
|
|
|
307
307
|
Reads the bundle and applies the `active_agents` list to the current project by running `--optimize` with the imported profile. Does not overwrite `usage_stats` or `failure_patterns` from the current project.
|
|
@@ -319,7 +319,7 @@ Reads the bundle and applies the `active_agents` list to the current project by
|
|
|
319
319
|
|
|
320
320
|
| Component | Interaction |
|
|
321
321
|
|-----------|-------------|
|
|
322
|
-
| `/
|
|
322
|
+
| `/omcustomcodex:analysis` | Calls adaptive-harness `--scan` after initial tech stack detection to persist the profile |
|
|
323
323
|
| `SessionStart` hook | Lightweight profile existence check only — no full scan at startup |
|
|
324
324
|
| `mgr-creator` | Invoked when gaps are detected during `--optimize` to create missing agent files |
|
|
325
325
|
| `R016` (Continuous Improvement) | Failure patterns from `--learn` may trigger rule updates |
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name:
|
|
2
|
+
name: omcustomcodex:agora
|
|
3
3
|
description: "Multi-LLM adversarial consensus loop — 3+ LLMs compete to find flaws in designs/specs until unanimous agreement is reached"
|
|
4
4
|
user-invocable: true
|
|
5
5
|
argument-hint: "<document-path> [--rounds N] [--severity-threshold HIGH]"
|
|
@@ -26,10 +26,10 @@ source:
|
|
|
26
26
|
## Usage
|
|
27
27
|
|
|
28
28
|
```
|
|
29
|
-
/
|
|
30
|
-
/
|
|
31
|
-
/
|
|
32
|
-
/
|
|
29
|
+
/omcustomcodex:agora docs/design.md # Default: 3 LLMs, unlimited rounds
|
|
30
|
+
/omcustomcodex:agora docs/design.md --rounds 10 # Max 10 rounds
|
|
31
|
+
/omcustomcodex:agora docs/design.md --severity-threshold HIGH # Exit when no HIGH+ findings
|
|
32
|
+
/omcustomcodex:agora docs/design.md --models claude,codex # 2 LLMs only
|
|
33
33
|
```
|
|
34
34
|
|
|
35
35
|
## Workflow
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name:
|
|
2
|
+
name: omcustomcodex:analysis
|
|
3
3
|
description: Analyze project and auto-configure agents, skills, rules, and guides
|
|
4
4
|
scope: harness
|
|
5
5
|
argument-hint: "[target-dir] [--interview]"
|
|
@@ -193,8 +193,8 @@ After analysis completes, offer adaptive-harness optimization:
|
|
|
193
193
|
|
|
194
194
|
```
|
|
195
195
|
[Analysis Complete] Tech stack detected. Optimize harness for this project?
|
|
196
|
-
├── Yes → Run /
|
|
197
|
-
├── Dry-run → Run /
|
|
196
|
+
├── Yes → Run /omcustomcodex:adaptive-harness --optimize (deactivate unused, suggest missing)
|
|
197
|
+
├── Dry-run → Run /omcustomcodex:adaptive-harness --optimize --dry-run (show changes only)
|
|
198
198
|
└── Skip → Keep current harness configuration
|
|
199
199
|
```
|
|
200
200
|
|
|
@@ -105,7 +105,7 @@ Issue body format (matching the pattern established by issue #683):
|
|
|
105
105
|
|
|
106
106
|
---
|
|
107
107
|
|
|
108
|
-
_This issue was created by the `/
|
|
108
|
+
_This issue was created by the `/omcustomcodex:claude-native` skill._
|
|
109
109
|
```
|
|
110
110
|
|
|
111
111
|
**Notes:**
|
|
@@ -171,9 +171,9 @@ Semver comparison: major → minor → patch (all numeric). Pre-release suffixes
|
|
|
171
171
|
### Manual
|
|
172
172
|
|
|
173
173
|
```
|
|
174
|
-
/
|
|
175
|
-
/
|
|
176
|
-
/
|
|
174
|
+
/omcustomcodex:claude-native
|
|
175
|
+
/omcustomcodex:claude-native --backfill
|
|
176
|
+
/omcustomcodex:claude-native --dry-run
|
|
177
177
|
```
|
|
178
178
|
|
|
179
179
|
### Automatic (SessionStart Hook)
|
|
@@ -197,7 +197,7 @@ A lightweight wrapper script can run a `--dry-run` check and notify if new relea
|
|
|
197
197
|
Can be set up as a scheduled remote agent using `/schedule`:
|
|
198
198
|
|
|
199
199
|
```
|
|
200
|
-
/schedule "daily at 9am: /
|
|
200
|
+
/schedule "daily at 9am: /omcustomcodex:claude-native"
|
|
201
201
|
```
|
|
202
202
|
|
|
203
203
|
Or via CronCreate MCP tool for programmatic scheduling.
|
|
@@ -206,8 +206,8 @@ When the `--spec` flag is present, refactoring is guided by the target's canonic
|
|
|
206
206
|
|
|
207
207
|
### Workflow
|
|
208
208
|
|
|
209
|
-
1. **Load spec**: Read `.codex/specs/<agent-name>.spec.md` (generated by `/
|
|
210
|
-
- If spec doesn't exist, run takeover first: `/
|
|
209
|
+
1. **Load spec**: Read `.codex/specs/<agent-name>.spec.md` (generated by `/omcustomcodex:takeover`)
|
|
210
|
+
- If spec doesn't exist, run takeover first: `/omcustomcodex:takeover <name>`
|
|
211
211
|
2. **Extract invariants**: Parse the spec's `## Invariants` section as pre-flight guard constraints
|
|
212
212
|
3. **Refactor**: Perform normal refactoring (per existing workflow)
|
|
213
213
|
4. **Verify invariants**: After refactoring, check each invariant still holds:
|
|
@@ -217,7 +217,7 @@ When the `--spec` flag is present, refactoring is guided by the target's canonic
|
|
|
217
217
|
├── ✓ Invariant 2: {description} — PASS
|
|
218
218
|
└── ✗ Invariant 3: {description} — FAIL (reason)
|
|
219
219
|
```
|
|
220
|
-
5. **Regenerate spec**: If refactoring changed the contract, run `/
|
|
220
|
+
5. **Regenerate spec**: If refactoring changed the contract, run `/omcustomcodex:takeover <name>` to update
|
|
221
221
|
|
|
222
222
|
### When to Use
|
|
223
223
|
|
|
@@ -418,4 +418,4 @@ Integration: Works with [impeccable-design](/skills/impeccable-design) skill for
|
|
|
418
418
|
|
|
419
419
|
### Harness Eval Preset
|
|
420
420
|
|
|
421
|
-
The `harness-eval` skill provides a structured 15-task SE benchmark rubric that can be used as a preset for the evaluator-optimizer pipeline. When invoked via `/
|
|
421
|
+
The `harness-eval` skill provides a structured 15-task SE benchmark rubric that can be used as a preset for the evaluator-optimizer pipeline. When invoked via `/omcustomcodex:harness-eval`, the harness rubric dimensions (Test Coverage 30%, Architecture 25%, Error Handling 25%, Extensibility 20%) are loaded as the sprint contract criteria.
|
|
@@ -17,9 +17,9 @@ Evaluate agent quality using 15 structured software engineering task definitions
|
|
|
17
17
|
## Usage
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
/
|
|
21
|
-
/
|
|
22
|
-
/
|
|
20
|
+
/omcustomcodex:harness-eval # Run all 15 benchmarks
|
|
21
|
+
/omcustomcodex:harness-eval --preset quick # Run top 5 high-impact benchmarks
|
|
22
|
+
/omcustomcodex:harness-eval --task api-design # Run specific task benchmark
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
## Quality Dimensions
|
|
@@ -81,7 +81,7 @@ Run top 5 high-impact tasks (1, 3, 4, 5, 12). Quick evaluation ~15 minutes.
|
|
|
81
81
|
This skill provides preset rubrics for the evaluator-optimizer pipeline:
|
|
82
82
|
|
|
83
83
|
```
|
|
84
|
-
/
|
|
84
|
+
/omcustomcodex:harness-eval → loads rubric → evaluator-optimizer executes → scoring → report
|
|
85
85
|
```
|
|
86
86
|
|
|
87
87
|
The evaluator-optimizer skill's `pre_negotiation` phase accepts harness-eval rubric dimensions as sprint contract criteria.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
---
|
|
2
|
-
name:
|
|
2
|
+
name: omcustomcodex:auto-improve
|
|
3
3
|
description: Apply verified improvement suggestions from eval-core analysis to omcodex configuration
|
|
4
4
|
scope: harness
|
|
5
5
|
user-invocable: true
|
|
6
6
|
effort: high
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
# /
|
|
9
|
+
# /omcustomcodex:auto-improve — Automated Improvement Workflow
|
|
10
10
|
|
|
11
11
|
## Purpose
|
|
12
12
|
|
|
@@ -15,12 +15,12 @@ Reads improvement suggestions from eval-core analysis, lets the user select whic
|
|
|
15
15
|
## Usage
|
|
16
16
|
|
|
17
17
|
```
|
|
18
|
-
/
|
|
18
|
+
/omcustomcodex:auto-improve # Interactive selection from pending suggestions
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
## Prerequisites
|
|
22
22
|
|
|
23
|
-
- eval-core analysis data exists (run `/
|
|
23
|
+
- eval-core analysis data exists (run `/omcustomcodex:improve-report` first if empty)
|
|
24
24
|
- Pending improvement suggestions in `proposed` status
|
|
25
25
|
|
|
26
26
|
## Workflow
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name:
|
|
2
|
+
name: omcustomcodex:feedback
|
|
3
3
|
description: Submit feedback about oh-my-customcodex (supports anonymous submission)
|
|
4
4
|
scope: harness
|
|
5
5
|
user-invocable: true
|
|
@@ -19,13 +19,13 @@ Lowers the barrier for submitting feedback by allowing users to create GitHub is
|
|
|
19
19
|
|
|
20
20
|
```
|
|
21
21
|
# Inline feedback
|
|
22
|
-
/
|
|
22
|
+
/omcustomcodex:feedback HUD display is missing during parallel agent spawn
|
|
23
23
|
|
|
24
24
|
# Anonymous submission
|
|
25
|
-
/
|
|
25
|
+
/omcustomcodex:feedback --anonymous Something feels off with the routing
|
|
26
26
|
|
|
27
27
|
# Interactive (no arguments)
|
|
28
|
-
/
|
|
28
|
+
/omcustomcodex:feedback
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
## Workflow
|
|
@@ -109,7 +109,7 @@ For anonymous submissions, do NOT include the project name. Offer to include pro
|
|
|
109
109
|
|
|
110
110
|
4. Ensure labels exist (defensive):
|
|
111
111
|
```bash
|
|
112
|
-
gh label create feedback --description "User feedback via /
|
|
112
|
+
gh label create feedback --description "User feedback via /omcustomcodex:feedback" --color 0E8A16 --repo baekenough/oh-my-customcodex 2>/dev/null || true
|
|
113
113
|
# If anonymous, ensure the anonymous label exists
|
|
114
114
|
if [ "$ANONYMOUS" = "true" ]; then
|
|
115
115
|
gh label create anonymous --description "Anonymous feedback submission" --color C5DEF5 --repo baekenough/oh-my-customcodex 2>/dev/null || true
|
|
@@ -119,7 +119,7 @@ For anonymous submissions, do NOT include the project name. Offer to include pro
|
|
|
119
119
|
5. Create the issue using `--body-file` for safe markdown handling:
|
|
120
120
|
```bash
|
|
121
121
|
# Write body to temp file to avoid shell escaping issues
|
|
122
|
-
cat > /tmp/
|
|
122
|
+
cat > /tmp/omcustomcodex-feedback-body.md << 'FEEDBACK_EOF'
|
|
123
123
|
## Feedback
|
|
124
124
|
|
|
125
125
|
**Category**: {category}
|
|
@@ -135,7 +135,7 @@ For anonymous submissions, do NOT include the project name. Offer to include pro
|
|
|
135
135
|
- Project: {project_name}
|
|
136
136
|
|
|
137
137
|
---
|
|
138
|
-
*Submitted via `/
|
|
138
|
+
*Submitted via `/omcustomcodex:feedback`*
|
|
139
139
|
FEEDBACK_EOF
|
|
140
140
|
|
|
141
141
|
# Build label string
|
|
@@ -149,10 +149,10 @@ For anonymous submissions, do NOT include the project name. Offer to include pro
|
|
|
149
149
|
--repo baekenough/oh-my-customcodex \
|
|
150
150
|
--title "{title}" \
|
|
151
151
|
--label "$LABELS" \
|
|
152
|
-
--body-file /tmp/
|
|
152
|
+
--body-file /tmp/omcustomcodex-feedback-body.md
|
|
153
153
|
|
|
154
154
|
# Clean up
|
|
155
|
-
rm -f /tmp/
|
|
155
|
+
rm -f /tmp/omcustomcodex-feedback-body.md
|
|
156
156
|
```
|
|
157
157
|
|
|
158
158
|
6. If label creation fails AND issue creation fails due to labels, retry without labels as fallback
|
|
@@ -183,7 +183,7 @@ Inform the user:
|
|
|
183
183
|
[Saved] Feedback saved locally to ~/.omcodex/feedback/{timestamp}.json
|
|
184
184
|
Submit manually when connectivity is available:
|
|
185
185
|
- GitHub Issues: https://github.com/baekenough/oh-my-customcodex/issues/new
|
|
186
|
-
- Or run /
|
|
186
|
+
- Or run /omcustomcodex:feedback again when gh is available
|
|
187
187
|
```
|
|
188
188
|
|
|
189
189
|
### Category-to-Label Mapping
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name:
|
|
2
|
+
name: omcustomcodex:improve-report
|
|
3
3
|
description: Read-only report of improvement suggestions from eval-core analysis engine
|
|
4
4
|
scope: harness
|
|
5
5
|
user-invocable: true
|
|
@@ -16,7 +16,7 @@ Surface actionable improvement suggestions gathered by the eval-core analysis en
|
|
|
16
16
|
## Usage
|
|
17
17
|
|
|
18
18
|
```
|
|
19
|
-
/
|
|
19
|
+
/omcustomcodex:improve-report
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
## Workflow
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
---
|
|
2
|
-
name:
|
|
2
|
+
name: omcustomcodex:loop
|
|
3
3
|
description: Prevent session idle during background agent work via SubagentStop prompt hook auto-continuation
|
|
4
4
|
scope: core
|
|
5
5
|
version: 1.0.0
|
|
6
6
|
user-invocable: true
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
# /
|
|
9
|
+
# /omcustomcodex:loop — Session Auto-Continuation
|
|
10
10
|
|
|
11
11
|
## Overview
|
|
12
12
|
|
|
@@ -38,8 +38,8 @@ The hook is configured in `.codex/hooks/hooks.json` under `SubagentStop`. It wor
|
|
|
38
38
|
## Usage
|
|
39
39
|
|
|
40
40
|
```bash
|
|
41
|
-
/
|
|
42
|
-
/
|
|
41
|
+
/omcustomcodex:loop # Show current auto-continuation status
|
|
42
|
+
/omcustomcodex:loop status # Same as above
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
The feature is active by default via hooks.json. No explicit activation needed.
|