jed-zed/trellis-ccg-harness/ccg-optimize

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Optimize performance, maintainability, or workflow bottlenecks with measured Codex-owned changes. Use when the user invokes /ccg:optimize.

Install

npx vskill@latest install jed-zed/trellis-ccg-harness/ccg-optimize

SKILL.md

Research

Use existing independent research agents with grok-search MCP. Search actively and verify key conclusions against original sources; check versions/licenses when reusing code and experiment conditions when adopting papers. Mark unverified findings. Archived instructions below are inactive: ordinary work does not run Grok CLI/ACP, wait for its gates, or require its manifests and hash packages.

<!-- Legacy Grok CLI/ACP reference; inactive in ordinary research.

Automatic External Intelligence Gate

Before ordinary work, run the shared route once from the controller:

ccg-codex route --workflow optimize --phase intake --task-file ".ccg/tasks/<task-id>/intelligence-request.md" --state-file ".ccg/tasks/<task-id>/intelligence-route.json"

Run this potentially long route with the host's tool-managed background execution and wait mechanism; never put it under a foreground timeout shorter than the runner's 10-minute timeout. If the host cancels or terminates the job before a terminal state is written, run ccg-codex route recover --state-file <state-file> --status cancelled --reason "<reason>" (or use --status failed); recovery refuses to overwrite a live owner.

Append existing --plan, --diff, --target, and repeatable --dependency paths whenever those artifacts are available. Add --semantic-mode contract|incident --semantic-reason "<Codex judgment>" only for an explicit semantic decision. The runtime honors disabled config, persists the decision reason, and must be re-run after plan, dependency, target, diff, or phase digest changes. Stop ordinary work on exit code 2, 3, or 4 only for an explicit required semantic route; advisory search failures do not block ordinary work. -->

CCG Optimize

Load and follow skills/ccg-executor/SKILL.md.

Use this as the Codex-native equivalent of the original CCG /ccg:optimize command.

Behavior

  • Identify the optimization target and current bottleneck before editing.
  • Prefer measurements, profiler output, tests, or static evidence over speculation.
  • Preserve public behavior unless the user explicitly requests behavior changes.
  • Follow the shared Companion Role Contract when resolving roles for

alternatives and regression-risk review. If a selected provider is Gemini, use the bundled preview helper with --prompt-template optimizer.

  • Codex owns final edits, benchmarks/tests, diff review, and Chinese delivery.

Verification

  • Run the smallest meaningful performance, build, test, or static check that proves the optimization did not break behavior.
  • Report any missing benchmark or measurement limitation.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/jed-zed/trellis-ccg-harness/ccg-optimize/badge)](https://verified-skill.com/skills/jed-zed/trellis-ccg-harness/ccg-optimize)

Something wrong with this skill or its page? Tell us.