Individual skill
octocode-prompt-optimizer
Use when an agent prompt, tool schema, policy, or handoff needs to get clearer, safer, easier to trigger, cheaper in context, or measurable against real behavior. For SKILL.md folder install/review/structure, use octocode-skills.
skills/octocode-prompt-optimizer/SKILL.md
Source commit c265e3f9413161c900cbf4aa70d451b8e6b3920a
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- Yes
- Observed behavior
- Not checked yet
- Last checked
- Nov 4, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 958
- Repository last updated
- Nov 6, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- ai Repository topic
- claude-ai Repository topic
- cursor-ai Repository topic
- development Repository topic
- mcp Repository topic
- modelcontextprotocol Repository topic
- octocode Repository topic
- ai-agents Repository topic
- ai-tools Repository topic
- code-intelligence Repository topic
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
README.mddoc · 1,398 bytesSKILL.mdcore · 4,139 bytesreferences/agent-communication.mddoc · 3,437 bytesreferences/attention.mddoc · 4,790 bytesreferences/conciseness-toolkit.mddoc · 3,414 bytesreferences/context-budget.mddoc · 2,582 bytesreferences/evaluation-data.mddoc · 2,272 bytesreferences/fix.mddoc · 2,308 bytesreferences/gates.mddoc · 2,044 bytesreferences/improve-loop.mddoc · 754 bytesreferences/output.mddoc · 1,841 bytesreferences/patterns.mddoc · 2,357 bytesreferences/prompt-caching.mddoc · 2,975 bytesreferences/prompt-techniques.mddoc · 3,683 bytesreferences/rate.mddoc · 2,411 bytesreferences/tool-contracts.mddoc · 2,874 bytesreferences/untrusted-content.mddoc · 2,158 bytesreferences/validate.mddoc · 2,422 bytesreferences/zod-agent-contracts.mddoc · 3,520 bytes
Read excerpt
# Octocode Prompt Optimizer
Optimize instruction behavior, not prose aesthetics.
Flow: `READ → UNDERSTAND → RATE → FIX → VALIDATE → OUTPUT`.
## Lobby rules and gates
- READ: inspect the whole input and its type; UNDERSTAND: map goal, parts, flow, assumptions, and unknowns.
- RATE: record evidenced issues, severity, and baseline; FIX: address Critical/High issues and name deliberate deferrals.
- VALIDATE: prove intent and required behavior remain correct; OUTPUT: provide the requested artifact and truthful delta.
- Use the full path for multi-section, ambiguous, tool-facing, or high-risk work; combine adjacent steps only for short, low-risk text. Never skip VALIDATE.
- Preserve intent, working branches, identifiers, commands, and required metadata; ask before changing them.
- Verify cited commands, flags, paths, tool names, and schemas before rewriting; flag unverified claims.
- Make only critical behavior mandatory; retain preference language for real preferences. Mutate files only with authority.