### Install the CLI Source: https://github.com/bennyoooo/skillmaxxing/blob/main/skill-maxing-plugin/README.md Global installation of the skill-maxing CLI via npm. ```bash npm i -g skill-maxing ``` -------------------------------- ### Install a discovered skill Source: https://github.com/bennyoooo/skillmaxxing/blob/main/skill-maxing-plugin/skills/discover-skill/SKILL.md Install a specific skill by name after discovery. Use --global or --agent flags to define the installation scope. ```bash scripts/discover.sh "" --install [--global] [--agent ] ``` -------------------------------- ### Install SkillMaxxing globally Source: https://github.com/bennyoooo/skillmaxxing/blob/main/README.md Recommended installation method for daily use, providing persistent hooks with minimal latency. ```bash npm i -g skillmaxxing && skillmaxxing plugin install ``` -------------------------------- ### Install via Claude Code marketplace Source: https://github.com/bennyoooo/skillmaxxing/blob/main/README.md Alternative installation method for Claude Code users. ```text /plugin marketplace add Bennyoooo/skillmaxxing /plugin install skillmaxxing ``` -------------------------------- ### Install Plugin Skills Source: https://github.com/bennyoooo/skillmaxxing/blob/main/skill-maxing-plugin/README.md Use the CLI to install plugin skills into a specific agent environment. ```bash skill-maxing install ./skill-maxing-plugin --agent claude --global ``` -------------------------------- ### Install and run Codex plugin Source: https://github.com/bennyoooo/skillmaxxing/blob/main/TESTING.md Commands to navigate to the test directory, install the Codex agent, and execute the agent. ```bash cd ~/skillmax-test skillmaxxing plugin install --agent codex # writes guidance into AGENTS.md (no Stop hook) codex ``` -------------------------------- ### Install SkillMaxxing via npx Source: https://github.com/bennyoooo/skillmaxxing/blob/main/README.md Use this for testing without global installation; note that it may introduce latency at the end of agent turns. ```bash npx skillmaxxing plugin install ``` -------------------------------- ### Development Environment Commands Source: https://github.com/bennyoooo/skillmaxxing/blob/main/README.md Use these commands to install dependencies, build the project, run tests, and regenerate the hero asset. ```bash npm install npm run build # tsc -> dist/ npm test # node:test, 116 tests node scripts/gen-hero.mjs # regenerate the hero ``` -------------------------------- ### Install for Codex or other agents Source: https://github.com/bennyoooo/skillmaxxing/blob/main/README.md Specific installation command for agents like Codex that lack programmatic stop hooks. ```bash npm i -g skillmaxxing && skillmaxxing plugin install --agent codex ``` -------------------------------- ### Install nudge mode plugin Source: https://github.com/bennyoooo/skillmaxxing/blob/main/TESTING.md Configures the agent to create or improve skills during the session rather than in the background. ```bash skillmaxxing plugin install --mode nudge --threshold 4 ``` -------------------------------- ### Install Skill Maxing Plugin Source: https://github.com/bennyoooo/skillmaxxing/blob/main/README.md Configures the plugin with a specific mode and tool call threshold. ```bash npx skillmaxxing plugin install --mode nudge --threshold 12 ``` -------------------------------- ### List skills and check system health Source: https://github.com/bennyoooo/skillmaxxing/blob/main/TESTING.md Commands to display installed skills and verify integration and lock health. ```bash skillmaxxing list # installed skills across agents skillmaxxing doctor # integration + lock health ``` -------------------------------- ### Commit a skill Source: https://github.com/bennyoooo/skillmaxxing/blob/main/skill-maxing-plugin/skills/create-skill/SKILL.md Finalize and install the skill, clearing the draft. ```bash scripts/skillify.sh --commit [--global] [--agent ] ``` -------------------------------- ### Define Agent Adapter Configuration Source: https://github.com/bennyoooo/skillmaxxing/blob/main/docs/architecture.md Defines the structure for agent-specific configurations, including paths for global and project-level skills and installation strategies. ```typescript interface AgentAdapter { name: string; displayName: string; cliCommand: string; // for detection via `which` globalSkillRoot: string; // e.g., '~/.claude/skills' projectSkillRoot: string; // e.g., '.claude/skills' frontmatter: FrontmatterConfig; // per-agent field rules installStrategy: 'symlink' | 'copy'; } ``` -------------------------------- ### Initialize test environment Source: https://github.com/bennyoooo/skillmaxxing/blob/main/TESTING.md Sets up a new directory and initializes a git repository to trigger the SessionStart hook. ```bash mkdir -p ~/skillmax-test && cd ~/skillmax-test && git init -q claude # start a FRESH Claude Code session here (so SessionStart runs) ``` -------------------------------- ### Build and link the plugin Source: https://github.com/bennyoooo/skillmaxxing/blob/main/TESTING.md Builds the project from source and links the binary to the system PATH for local testing. ```bash cd ~/Desktop/projects/skillmaxxing/skill-maxing npm install && npm run build npm link # puts `skillmaxxing` + `skillmax` on PATH skillmaxxing --version # sanity: prints 0.1.0 # install the plugin globally, with a LOW threshold so it fires on a short test skillmaxxing plugin install --threshold 4 skillmaxxing plugin status # -> active for Claude Code: SessionStart, PostToolUse, Stop ``` -------------------------------- ### Inspect Created Skills and State Source: https://github.com/bennyoooo/skillmaxxing/blob/main/TESTING.md Verify that the skill was successfully created, stored in the project directory, and recorded in the global state. ```bash skillmaxxing list # the created skill should appear ls ~/skillmax-test/.claude/skills/ # project-scoped skill dir(s) cat ~/skillmax-test/.claude/skills/*/SKILL.md # read what it captured cat ~/.skillmax/state/*.json # -> origin:"created", trusted:false ls ~/.skillmax/drafts/ # any staged-but-not-committed draft ``` -------------------------------- ### Create a skill Source: https://github.com/bennyoooo/skillmaxxing/blob/main/README.md Stages, smoke-tests, reviews, and commits a workflow into a tested skill. ```bash skillmaxxing skillify --draft draft.json # stage → smoke-test → review → --commit ``` -------------------------------- ### Search for skills Source: https://github.com/bennyoooo/skillmaxxing/blob/main/skill-maxing-plugin/skills/discover-skill/SKILL.md Execute a search query to find relevant skills. Use the --repo flag to target specific repositories and --limit to adjust the number of results. ```bash scripts/discover.sh "" --json ``` -------------------------------- ### Project File Structure Source: https://github.com/bennyoooo/skillmaxxing/blob/main/docs/eng-tracking.md The final directory layout for the project, organized by CLI entry point, agent adapters, commands, lock file management, and utility modules. ```text src/ cli.ts # Entry point (190 lines) types.ts # Core types (72 lines) agents/ types.ts # Re-export claude.ts # ~/.claude/skills codex.ts # ~/.codex/skills + .agents/skills cursor.ts # ~/.cursor/skills opencode.ts # ~/.config/opencode/skills hermes.ts # ~/.hermes/skills registry.ts # ALL_AGENTS, detect, lookup commands/ init.ts # Template generation install.ts # Source → resolve → symlink/copy → lock list.ts # Scan all agents, table/json output remove.ts # Delete + lock cleanup update.ts # Re-install from lock entries doctor.ts # Agent CLI check, symlink health source/ parser.ts # GitHub shorthand, URL, SSH, local resolver.ts # Clone, scan for SKILL.md, temp cleanup lock/ global.ts # ~/.skillmax/skill-lock.json project.ts # skills-lock.json (VCS-friendly) util/ sanitize.ts # Name/path validation, terminal escape strip fs.ts # Symlink/copy, ensureDir, removeDir frontmatter.ts # YAML-only SKILL.md parser git.ts # Clone, SHA, temp dirs log.ts # Colored console output ``` -------------------------------- ### CLI Command Reference Source: https://github.com/bennyoooo/skillmaxxing/blob/main/docs/reference-notes.md Available commands for managing skills via the CLI. ```bash skills add # Install from source (aliases: a, i, install) skills remove [skills] # Remove (aliases: rm, r) skills list # List installed (alias: ls) skills find [query] # Interactive search (aliases: search, f, s) skills update [skills] # Update to latest (aliases: upgrade, check) skills init [name] # Create SKILL.md template ``` -------------------------------- ### Promote Candidate Skill Source: https://github.com/bennyoooo/skillmaxxing/blob/main/skill-maxing-plugin/skills/optimize-skill/SKILL.md Promote a validated candidate skill to the live directory after human approval. ```bash scripts/optimize.sh promote --skill --live --candidate --score ``` -------------------------------- ### Re-install plugin after linking Source: https://github.com/bennyoooo/skillmaxxing/blob/main/TESTING.md Fixes issues where hooks incorrectly call npx instead of the linked skillmaxxing package. ```bash skillmaxxing plugin install --threshold 4 ``` -------------------------------- ### Score Skill Rollouts Source: https://github.com/bennyoooo/skillmaxxing/blob/main/skill-maxing-plugin/skills/optimize-skill/SKILL.md Execute the scoring script to evaluate skill performance against the manifest and rollouts. ```bash scripts/optimize.sh score --eval eval.yaml --rollouts rollouts.json --skill --json ``` -------------------------------- ### Verify Skill Optimization Source: https://github.com/bennyoooo/skillmaxxing/blob/main/TESTING.md Check the state file to confirm version increments and score history growth after an optimization request. ```bash cat ~/.skillmax/state/*.json # version increments; scoreHistory grows ``` -------------------------------- ### Apply Bounded Edits Source: https://github.com/bennyoooo/skillmaxxing/blob/main/skill-maxing-plugin/skills/optimize-skill/SKILL.md Apply proposed edits to the skill directory within a defined budget. ```bash scripts/optimize.sh apply --skill --skill-dir --edits edits.json --step --total ``` -------------------------------- ### Stage a skill draft Source: https://github.com/bennyoooo/skillmaxxing/blob/main/skill-maxing-plugin/skills/create-skill/SKILL.md Stage the draft for review, optionally running smoke tests with explicit authorization. ```bash scripts/skillify.sh --draft draft.json # stage; smoke test skipped unless authorized scripts/skillify.sh --draft draft.json --allow-exec # stage AND run the smoke test in the sandbox ``` -------------------------------- ### Discover existing skills Source: https://github.com/bennyoooo/skillmaxxing/blob/main/skill-maxing-plugin/skills/create-skill/SKILL.md Search for existing skills to avoid creating duplicates. ```bash scripts/discover.sh "" --json ``` -------------------------------- ### Manage SkillMaxxing plugin Source: https://github.com/bennyoooo/skillmaxxing/blob/main/README.md Commands to check the status of the plugin or remove the hooks entirely. ```bash skillmaxxing plugin status # is it active? skillmaxxing plugin uninstall # remove the hooks ``` -------------------------------- ### Sync Skills Source: https://github.com/bennyoooo/skillmaxxing/blob/main/skill-maxing-plugin/skills/workspace-skill/SKILL.md Syncs skills from the team registry to the local environment. ```APIDOC ## Sync ### Description Syncs skills from the team registry. Synced skills are stored under ~/.skillmax/workspace// and marked as untrusted. ### Command `scripts/workspace.sh sync --registry [--channel dev]` ### Parameters - **--registry** (dir) - Required - Path to the registry git repository. - **--channel** (string) - Optional - The channel to sync from. ``` -------------------------------- ### Promote a skill to a stable channel Source: https://github.com/bennyoooo/skillmaxxing/blob/main/skill-maxing-plugin/skills/workspace-skill/SKILL.md Promotes a skill through the channel ladder, requiring explicit approval. Conflicts with existing versions in the target channel must be resolved manually. ```bash scripts/workspace.sh promote --registry --skill --channel stable --approve --approver "" ``` -------------------------------- ### Optimization Loop Stages Source: https://github.com/bennyoooo/skillmaxxing/blob/main/docs/reference-notes.md The iterative process for refining skill documents through rollout, reflection, and evaluation. ```text For each epoch (default 4): For each step: For each accumulation batch: 1. ROLLOUT — target model executes tasks with current_skill 2. REFLECT — optimizer model analyzes trajectories, produces patches 3. AGGREGATE — hierarchical merge of all patches from accumulation 4. SELECT — rank edits, apply edit budget (learning rate) 5. UPDATE — apply patch to skill document 6. EVALUATE — run on held-out selection set, accept/reject via gate End-of-epoch: SLOW UPDATE — longitudinal comparison across epochs META SKILL — optimizer-side memory update ``` -------------------------------- ### Reset and uninstall skillmaxxing Source: https://github.com/bennyoooo/skillmaxxing/blob/main/TESTING.md Commands to clear session counters, remove specific skills, purge test data, and uninstall the CLI. ```bash rm -f ~/.skillmax/sessions/* # reset tool counters skillmaxxing remove # remove a created skill rm -rf ~/skillmax-test/.claude/skills/* ~/.skillmax/state/* # nuke test skills + state skillmaxxing plugin uninstall # remove the hooks when done npm unlink -g skillmaxxing # remove the linked CLI ``` -------------------------------- ### Publish a skill to the team registry Source: https://github.com/bennyoooo/skillmaxxing/blob/main/skill-maxing-plugin/skills/workspace-skill/SKILL.md Publishes a skill to a specific channel in the registry. Remind the user to commit and push the registry repository after execution. ```bash scripts/workspace.sh publish --registry --skill-dir --channel dev --by "" ``` -------------------------------- ### SKILL.md Frontmatter Configuration Source: https://github.com/bennyoooo/skillmaxxing/blob/main/docs/reference-notes.md YAML frontmatter schema used within SKILL.md files to define metadata, platform compatibility, and configuration requirements. ```yaml --- name: skill-name description: Brief description version: 1.0.0 platforms: [macos, linux] metadata: hermes: tags: [tag1, tag2] related_skills: [other-skill] config: - key: wiki.path description: Path to wiki default: "~/wiki" --- ``` -------------------------------- ### Monitor tool usage Source: https://github.com/bennyoooo/skillmaxxing/blob/main/TESTING.md Inspects the session logs to verify that the tool counter is incrementing as the agent performs tasks. ```bash cat ~/.skillmax/sessions/*.json # -> {"tools": N, ...} N climbs as the agent works ``` -------------------------------- ### Verify plugin hook configuration Source: https://github.com/bennyoooo/skillmaxxing/blob/main/TESTING.md Checks the Claude settings file to ensure the plugin hooks are correctly registered. ```bash grep -A2 "skillmaxxing plugin" ~/.claude/settings.json ``` -------------------------------- ### Sync team skills from the registry Source: https://github.com/bennyoooo/skillmaxxing/blob/main/skill-maxing-plugin/skills/workspace-skill/SKILL.md Synchronizes skills from the registry to the local machine. Colliding names are namespaced by origin to prevent overwriting local history. ```bash scripts/workspace.sh sync --registry [--channel dev] ``` -------------------------------- ### Define Agent Configuration Source: https://github.com/bennyoooo/skillmaxxing/blob/main/docs/reference-notes.md Interface for defining agent-specific paths and detection logic. ```typescript interface AgentConfig { name: string; displayName: string; skillsDir: string; // project-level path (e.g., '.claude/skills') globalSkillsDir: string | undefined; // absolute path detectInstalled: () => Promise; // checks config dir exists } ``` -------------------------------- ### Revert Skill Version Source: https://github.com/bennyoooo/skillmaxxing/blob/main/skill-maxing-plugin/skills/optimize-skill/SKILL.md Roll back the live skill to a previous version. ```bash scripts/optimize.sh revert --skill --version --live ``` -------------------------------- ### Hermes Skill Directory Structure Source: https://github.com/bennyoooo/skillmaxxing/blob/main/docs/reference-notes.md The standard file system layout for storing procedural skills, including instructions, references, and automation scripts. ```text ~/.hermes/skills/ my-skill/ SKILL.md # Main instructions (YAML frontmatter + markdown body) references/ # Session-specific detail, API docs, domain notes templates/ # Starter files to copy/modify scripts/ # Re-runnable automation scripts assets/ # Supplementary files ``` -------------------------------- ### Optimize an existing skill Source: https://github.com/bennyoooo/skillmaxxing/blob/main/README.md Runs an eval-gated loop to improve skills with strict score validation and version retention. ```bash skillmaxxing optimize ``` -------------------------------- ### Global Lock File Structure Source: https://github.com/bennyoooo/skillmaxxing/blob/main/docs/reference-notes.md Schema for the global skill lock file located at ~/.agents/.skill-lock.json. ```json { "version": 3, "skills": { "debugging": { "source": "vercel-labs/agent-skills", "sourceType": "github", "sourceUrl": "...", "skillFolderHash": "", "installedAt": "2025-01-15T10:30:00Z", "updatedAt": "..." } }, "lastSelectedAgents": ["claude", "codex"] } ``` -------------------------------- ### Manage telemetry settings Source: https://github.com/bennyoooo/skillmaxxing/blob/main/README.md Commands to check, disable, or enable anonymous usage telemetry. ```bash skillmaxxing telemetry status # see what's on and where the config lives skillmaxxing telemetry off # opt out skillmaxxing telemetry on # opt back in ``` -------------------------------- ### Project Lock File Structure Source: https://github.com/bennyoooo/skillmaxxing/blob/main/docs/reference-notes.md Schema for the project-level skills-lock.json file, designed to minimize merge conflicts. ```json { "version": 1, "skills": { "debugging": { "source": "owner/repo", "sourceType": "github", "computedHash": "" } } } ``` -------------------------------- ### Publish Skill Source: https://github.com/bennyoooo/skillmaxxing/blob/main/skill-maxing-plugin/skills/workspace-skill/SKILL.md Publishes a skill to the team registry in a specified channel. ```APIDOC ## Publish ### Description Publishes a skill to the team registry. New work is typically published to the 'dev' channel. ### Command `scripts/workspace.sh publish --registry --skill-dir --channel dev --by ""` ### Parameters - **--registry** (dir) - Required - Path to the registry git repository. - **--skill-dir** (dir) - Required - Path to the skill directory. - **--channel** (string) - Required - The target channel (e.g., dev). - **--by** (string) - Required - The name of the publisher. ``` -------------------------------- ### Promote Skill Source: https://github.com/bennyoooo/skillmaxxing/blob/main/skill-maxing-plugin/skills/workspace-skill/SKILL.md Promotes a skill to a higher channel, requiring explicit approval. ```APIDOC ## Promote ### Description Promotes a skill through the channel ladder (e.g., dev to stable). Requires explicit approval and an approver name. ### Command `scripts/workspace.sh promote --registry --skill --channel stable --approve --approver ""` ### Parameters - **--registry** (dir) - Required - Path to the registry git repository. - **--skill** (string) - Required - Name of the skill. - **--channel** (string) - Required - Target channel. - **--approve** (flag) - Required - Must be present to authorize promotion. - **--approver** (string) - Required - Name of the person approving the promotion. ``` -------------------------------- ### Monitor Reflector Process Source: https://github.com/bennyoooo/skillmaxxing/blob/main/TESTING.md Check if the background reflector process is currently running. ```bash ps aux | grep "[c]laude -p" ``` -------------------------------- ### Draft skill JSON structure Source: https://github.com/bennyoooo/skillmaxxing/blob/main/skill-maxing-plugin/skills/create-skill/SKILL.md Define the skill metadata, tools, scripts, and evaluation tasks in a JSON draft. ```json { "name": "release-notes", "description": "Draft release notes from a git log range.", "body": "# release-notes\n\n...instructions...\n", "tools": ["Bash"], "scripts": [{ "path": "scripts/changelog.sh", "content": "#!/usr/bin/env bash\n..." }], "eval": { "skill": "release-notes", "tasks": [ { "id": "happy", "input": "v1.0..v1.1", "scorer": "agent-judge", "rubric": "Groups changes by type; no raw SHAs; user-facing tone." } ] }, "smokeTest": ["bash", "scripts/changelog.sh", "--help"] } ``` -------------------------------- ### Validate Candidate Skill Source: https://github.com/bennyoooo/skillmaxxing/blob/main/skill-maxing-plugin/skills/optimize-skill/SKILL.md Compare candidate scores against current and best scores to determine if improvements meet the gate criteria. ```bash scripts/optimize.sh gate --current --candidate --best ``` -------------------------------- ### Pool evaluation results Source: https://github.com/bennyoooo/skillmaxxing/blob/main/skill-maxing-plugin/skills/workspace-skill/SKILL.md Appends evaluation scores to a shared skill for collaborative optimization. Results are merge-friendly and used as signals for skill optimization. ```bash scripts/workspace.sh pool --registry --skill --score <0..1> --by "" ``` -------------------------------- ### Pool Evaluation Results Source: https://github.com/bennyoooo/skillmaxxing/blob/main/skill-maxing-plugin/skills/workspace-skill/SKILL.md Appends evaluation scores to a shared skill for collaborative optimization. ```APIDOC ## Pool ### Description Shares evaluation scores for a skill so the team can optimize against pooled signals. ### Command `scripts/workspace.sh pool --registry --skill --score <0..1> --by ""` ### Parameters - **--registry** (dir) - Required - Path to the registry git repository. - **--skill** (string) - Required - Name of the skill. - **--score** (float) - Required - Score between 0 and 1. - **--by** (string) - Required - Name of the contributor. ``` -------------------------------- ### Edit Operation Data Structure Source: https://github.com/bennyoooo/skillmaxxing/blob/main/docs/reference-notes.md Defines the structure for proposed edits to the skill document, including operation type and supporting evidence. ```python EditOp = Literal["append", "insert_after", "replace", "delete"] @dataclass class Edit: op: EditOp content: str = "" # new text target: str = "" # existing text to locate support_count: int | None # how many trajectories support this edit source_type: Literal["failure", "success"] | None ``` -------------------------------- ### Validation Gate Logic Source: https://github.com/bennyoooo/skillmaxxing/blob/main/docs/reference-notes.md Determines whether a candidate skill update is accepted based on performance scores relative to current and best benchmarks. ```python def evaluate_gate(...) -> GateResult: if cand_score > current_score: if cand_score > best_score: return GateResult(action="accept_new_best") return GateResult(action="accept") return GateResult(action="reject") ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.