Agent skill

Context Modes

by 0xNyk in 0xNyk/lacp

Structured work modes for agent sessions. An agent skill from 0xNyk/lacp.

MITAuto-check passedAgent Workflows

Install Context Modes

skills CLI
$ npx skills add 0xNyk/lacp --skill context-modes -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install 0xNyk/lacp context-modes --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/0xNyk/lacp.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugin/skills/context-modes .claude/skills/context-modes && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
context-modes
GitHub stars
305
Token cost
~313 tokens
SKILL.md length
92 words
Files
12
Skills in repo
2
Repo updated
First seen
Licence
MIT

At a glance

Structured work modes for agent sessions. An agent skill from 0xNyk/lacp.

  • Tasks that involve Test-driven development
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Tasks that involve Verification before completion
  • Tasks that involve Task breakdown

What it does

Context Modes is an agent skill from 0xNyk/lacp. Structured work modes for agent sessions. Set LACPCONTEXTMODE to activate: tdd (red-green-refactor), debugging (4-phase root cause), sprint (pre-agreed criteria), verification (evidence-before-claims), brainstorm (design first), think (pause-and-reflect), orchestrate (task decomposition). Each mode injects behavioral rules at session start.

Its SKILL.md is about 310 tokens, which your agent loads only when the skill is triggered. The skill folder holds 11 other files (for example `brainstorm.md`, `debugging.md` and `handoff-resume.md`).

It sits in Agent Workflows, covering Test-driven development, Verification before completion and Task breakdown. The repository describes itself as: Local-first policy, evidence, memory, and recovery controls for Claude, Codex, Hermes, and other CLI coding agents. The licence is MIT.

When your agent uses it

  • Tasks that involve Test-driven development
  • Tasks that involve Verification before completion
  • Tasks that involve Task breakdown

Example prompts

  • “/context-modes”

What it can do on your machine

Read from SKILL.md and the folder at commit e31f134. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Context Modes loads about 313 tokens when it runs. Until then it costs about 90 tokens; SKILL.md has 92 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~90
When it runs · the whole SKILL.md, loaded when a task matches
~313

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from 0xNyk/lacp at commit e31f134, republished under its MIT licence (© 0xNyk). 92 words, ~313 tokens.

Download SKILL.mdSave it as .claude/skills/context-modes/SKILL.md (or your agent's skills folder). This skill also uses 11 other files; get the full folder from GitHub.
name
context-modes
description
Structured work modes for agent sessions. Set LACP_CONTEXT_MODE to activate: tdd (red-green-refactor), debugging (4-phase root cause), sprint (pre-agreed criteria), verification (evidence-before-claims), brainstorm (design first), think (pause-and-reflect), orchestrate (task decomposition). Each mode injects behavioral rules at session start.

Context Modes

Set LACP_CONTEXT_MODE environment variable to activate a mode:

ModePurpose
tddStrict RED-GREEN-REFACTOR — no code without a failing test
debugging4-phase systematic root cause investigation
sprintPre-agreed completion criteria evaluated at stop
verificationEvidence-before-claims discipline
brainstormDesign exploration — no code until design approved
thinkPause-and-reflect before every action chain
orchestrateDecompose into subtasks before executing
implementationFocused implementation partner
reviewCode review mode
thinking-partnerChallenge assumptions, surface blind spots
handoff-resumeContinue from previous session handoff

Each mode is a markdown file that gets injected as system context at session start.

© 0xNyk, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 11 other files in plugin/skills/context-modes of 0xNyk/lacp.

  • SKILL.md
  • brainstorm.md
  • debugging.md
  • handoff-resume.md
  • implementation.md
  • orchestrate.md
  • review.md
  • sprint.md
  • tdd.md
  • think.md
  • thinking-partner.md
  • verification.md

Open the folder on GitHubat commit e31f134

Compare with similar skills

Context Modes next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Context Modes compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Context Modes this skill0xNyk/lacp305—~313Automated safety check: PassMIT
Verification Before Completionforyourhealth111-pixel/Vibe-Skills3.6k—~1.1kAutomated safety check: PassApache-2.0
Component Design With TdadHabitat-Thinking/ai-literacy-superpowers114—~3.3kAutomated safety check: PassCustom licence
Incremental Implementationaddyosmani/agent-skills103k1 repos~2.3kAutomated safety check: PassMIT
Work Issuejoesaby/astro-mermaid123—~891Automated safety check: PassMIT
Auditable Playbook Designercursor/plugins10k8 repos~1kAutomated safety check: PassNone

Similar skills

  • Verification Before Completion

    foryourhealth111-pixel/Vibe-Skills

    Completion-evidence route used before claiming work is complete, fixed, passing, committed, or PR-ready.

    3.6k GitHub stars~1.1k tokensUpdated 1 mo ago
    Agent WorkflowsAuto-check passed
  • Component Design With Tdad

    Habitat-Thinking/ai-literacy-superpowers

    A skill your agent uses when designing a new plugin component (skill, agent, command, or backing script) for the ai-literacy-superpowers plugin or a sister plugin in this marketplace.

    114 GitHub stars~3.3k tokensUpdated 19 days ago
    Agent WorkflowsAuto-check passed
  • Incremental Implementation

    addyosmani/agent-skills

    Delivers a change in thin vertical slices, each implemented, tested, verified and committed before the next, using vertical, contract-first or risk-first slicing.

    103k GitHub starsUsed in 1 repo~2.3k tokens
    Agent WorkflowsAuto-check passed
  • Work Issue

    joesaby/astro-mermaid

    End-to-end workflow for resolving a GitHub issue in astro-mermaid — triages complexity, then runs brainstorm → TDD → implement → docs/spec → code review at the right depth.

    123 GitHub stars~891 tokensUpdated 2 mo ago
    DevelopmentAuto-check passed
  • Official

    Designs a step-by-step playbook for large or unfamiliar work, runs it as a loop of hypotheses and measurements, and logs decisions so a human can review them later.

    10k GitHub starsUsed in 8 repos~1k tokens
    Agent WorkflowsAuto-check passed
  • Launch Delivery Pipeline

    Yeachan-Heo/oh-my-claudecode

    Delivery pipeline from mission brief to verified change: writes a spec, splits it into tickets, runs them in parallel, verifies and reports a decision log after a repo audit gate.

    40k GitHub stars~7.3k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed

More from 0xNyk/lacp

  • Quality Gate

    0xNyk/lacp

    Production quality gate for agent sessions. An agent skill from 0xNyk/lacp.

    305 GitHub stars~382 tokensUpdated 17 days ago
    Auto-check passed

Questions about Context Modes

What does Context Modes do?

Structured work modes for agent sessions. An agent skill from 0xNyk/lacp. Context Modes is an agent skill from 0xNyk/lacp. Structured work modes for agent sessions.

When should I use Context Modes?

Context Modes fits situations like: tasks that involve Test-driven development; tasks that involve Verification before completion; tasks that involve Task breakdown.

How do I install Context Modes in Claude Code?

Run `npx skills add 0xNyk/lacp --skill context-modes -a claude-code`. Or copy the skill folder (plugin/skills/context-modes in 0xNyk/lacp) into .claude/skills/context-modes in your project. Claude Code loads it when a task matches its description.

How do I install Context Modes in Codex?

Run `npx skills add 0xNyk/lacp --skill context-modes -a codex`. Or copy the skill folder (plugin/skills/context-modes in 0xNyk/lacp) into .agents/skills/context-modes in your project. Codex loads it when a task matches its description.

Can I use Context Modes in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add 0xNyk/lacp --skill context-modes -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/context-modes, .gemini/skills/context-modes, .github/skills/context-modes and .opencode/skills/context-modes in your project.

What does Context Modes need to run?

SKILL.md names no scripts, command-line tools or credentials: Context Modes is instructions for the agent only.

Does Context Modes access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Context Modes safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Context Modes use?

Context Modes is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Context Modes use?

About 313 tokens (SKILL.md is roughly 1.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Context Modes?

Skills that share tags, products or a category with Context Modes: Verification Before Completion (foryourhealth111-pixel/Vibe-Skills, 3.6k stars), Component Design With Tdad (Habitat-Thinking/ai-literacy-superpowers, 114 stars), Incremental Implementation (addyosmani/agent-skills, 103k stars) and Work Issue (joesaby/astro-mermaid, 123 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Context Modes?

0xNyk (a GitHub user) maintains it in 0xNyk/lacp, which has 305 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on September 22, 2026.

Source: 0xNyk/lacp on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.