stevesolun/ctx/agent-patterns

Claude Code and agent skill by stevesolun/ctx

Trust tier 3
  • community
Source check pending

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

Operational modes (quick/standard/deep) should be first-class skills, not hard-coded branching — each mode defines its own phases, priorities, and completion criteria

Install

npx vskill@latest install stevesolun/ctx/agent-patterns

SKILL.md

The same SKILL.md was published earlier as stevesolun/ctx/agent-patterns.

Scan-Mode-as-Skill

Rather than hard-coding if mode == "quick": do_x() else: do_y() in the agent runtime, treat each operational mode as its own skill that the root agent loads at session start. Each mode skill encodes the phases, priorities, and exit criteria for that mode.

The Three Canonical Modes

Quick — time-boxed rapid assessment

  • Prioritize breadth over depth.
  • Focus on recent changes (git diffs, modified files) — most likely to contain fresh bugs.
  • Load existing wiki notes instead of remapping from scratch.
  • Run fast static triage scoped to changed paths.
  • One of each essential pass: semgrep, ast-grep (or tree-sitter), secrets, trivy fs — scoped.
  • Use case: CI/CD check on a PR.

Standard — balanced systematic assessment

  • Full attack surface mapping, but not exhaustive depth on every surface.
  • Understand the application before exploiting it.
  • Complete authentication/authorization review.
  • All major input vectors tested with primary techniques.
  • Use case: routine security review, release gate.

Deep — exhaustive assessment

  • Maximum coverage, maximum depth. Finding what others miss is the goal.
  • Multi-phase: exhaustive recon → business logic deep dive → comprehensive attack surface → vulnerability chaining → persistent testing → comprehensive reporting.
  • Agents decompose hierarchically: component → feature → vulnerability, then scale horizontally.
  • Use case: thorough audit, adversarial assessment, post-incident deep dive.

Why This Beats Hard-Coding Modes

  • Transparent — users can read exactly what "deep" means in markdown, not reverse-engineer control flow.
  • Extensible — add pr_review, red_team, compliance_scan modes by dropping in new skill files.
  • Tunable per domain — an org can fork the skill to reflect its own priorities without forking the engine.
  • Reusable pattern — the same pattern works for any system that has "modes of operation": deployment modes, migration modes, refactor modes.

Anatomy of a Mode Skill

  • Phase 1..N — ordered steps with clear enter/exit criteria
  • Whitebox vs blackbox variants — most modes apply differently depending on input
  • Agent strategy — how to decompose work at this depth (what workers to spawn, how to parallelize)
  • Completion criteria — what "done" looks like for this mode
  • Mindset guidance — one paragraph setting the attitude (relentless vs. fast vs. thorough)

Portability Beyond Security

The scan-mode-as-skill pattern maps cleanly onto any multi-step agent workflow where depth/time/rigor is a knob:

  • Code review: quick (syntax + obvious bugs) / standard (+ architecture) / deep (+ perf + security + maintainability)
  • Refactoring: quick (extract method) / standard (restructure module) / deep (cross-module redesign)
  • Documentation: quick (API signatures) / standard (+ usage examples) / deep (+ architectural context + migration notes)

Each mode becomes a first-class, versioned, diffable artifact.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

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

Source

Popularity

Repository stars
583
Repository forks
71
7-day trend score
32

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

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

  • Claude Code
  • Grok Build (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/stevesolun/ctx/agent-patterns/badge)](https://verified-skill.com/skills/stevesolun/ctx/agent-patterns)

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