~ / rigs / cdeust / session-optimizer

cdeust/session-optimizer

Cross-platform prompt refinement for Codex, Gemini CLI, and Claude Code, plus Claude-native context guard and telemetry statusline plugins. Portable refine-gate binds vague prompts to evidence; optional hooks enforce checkpoints, track suba

↗ GitHub ★ 1 MIT updated 5d ago project Claude Code Claude plugin
stack: Python
share on X
ARCHETYPE
Orchestrator
A bench of specialised subagents. The main agent mostly delegates.
CONTEXT TAX · EVERY TURN
~681 tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
0/5
No committed guardrails · details
Quality 0/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit cdeust/session-optimizer/.claude ./rig-session-optimizer  # inspect, then merge into .claude/

MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.

$ npx degit cdeust/session-optimizer/plugins/refine-gate/skills/refine .claude/skills/refine
$ npx degit cdeust/session-optimizer/plugins/statusline/skills/statusline .claude/skills/statusline
$ curl -fsSL --create-dirs -o .claude/agents/code-quality-reviewer.md https://raw.githubusercontent.com/cdeust/session-optimizer/main/.claude/agents/code-quality-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/documentation-accuracy-reviewer.md https://raw.githubusercontent.com/cdeust/session-optimizer/main/.claude/agents/documentation-accuracy-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/performance-reviewer.md https://raw.githubusercontent.com/cdeust/session-optimizer/main/.claude/agents/performance-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/security-code-reviewer.md https://raw.githubusercontent.com/cdeust/session-optimizer/main/.claude/agents/security-code-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/test-coverage-reviewer.md https://raw.githubusercontent.com/cdeust/session-optimizer/main/.claude/agents/test-coverage-reviewer.md

This rig commits no guardrails. Here is the community baseline instead — the deny/ask rules most often found across all 16.2k rigs:

{
  "permissions": {
    "deny": [
      "Read(./.env)",
      "Read(./.env.*)",
      "Read(**/.env)",
      "Read(~/.ssh/**)",
      "Bash(git push --force:*)",
      "Read(**/*.pem)",
      "Read(.env)",
      "Read(~/.aws/**)",
      "Read(**/*.key)",
      "Read(**/.env.*)",
      "Bash(git push --force*)",
      "Bash(rm -rf:*)",
      "Bash(rm -rf *)",
      "Bash(sudo *)",
      "Bash(sudo:*)",
      "Bash(rm -rf /)",
      "Bash(git push -f:*)",
      "Read(.env.*)",
      "Bash(git reset --hard*)",
      "Bash(rm -rf /*)"
    ],
    "ask": [
      "Bash(git push:*)",
      "Bash(git push *)",
      "Bash(gh pr merge *)",
      "Bash(git commit:*)",
      "Bash(rm *)",
      "Bash(gh pr merge:*)",
      "Bash(gh pr create *)",
      "Bash(git reset --hard:*)",
      "Bash(npm publish:*)",
      "Bash(git rebase *)"
    ]
  }
}

Skills (2)

Subagents (5)

code-quality-reviewer
model: inherit
Use this agent when you need to review code for quality, maintainability, and adherence to best practices. Examples:\n\n- After implementing a new feature or function:\n user: 'I've just written a fu
documentation-accuracy-reviewer
model: inherit
Use this agent when you need to verify that code documentation is accurate, complete, and up-to-date. Specifically use this agent after: implementing new features that require documentation updates, m
performance-reviewer
model: inherit
Use this agent when you need to analyze code for performance issues, bottlenecks, and resource efficiency. Examples: After implementing database queries or API calls, when optimizing existing features
security-code-reviewer
model: inherit
Use this agent when you need to review code for security vulnerabilities, input validation issues, or authentication/authorization flaws. Examples: After implementing authentication logic, when adding
test-coverage-reviewer
model: inherit
Use this agent when you need to review testing implementation and coverage. Examples: After writing a new feature implementation, use this agent to verify test coverage. When refactoring code, use thi

Slash commands (1)

/review-pr

Similar rigs

copied ✓