Token导航 LogoToken导航TokenDH.com
开发执行命令github未标认证来源可访问许可证需确认审计提醒

context-mode-ops上下文模式操作

Agent Skill

context-mode-ops 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,375

周安装

102

GitHub Stars

11,317

下载量

832
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:context-mode-ops(上下文模式操作)
来源仓库:https://github.com/mksglu/context-mode
仓库路径:skills/context-mode-ops
安装命令:
npx skills add https://github.com/mksglu/context-mode --skill context-mode-ops
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/mksglu/context-mode --skill context-mode-ops

简介

context-mode-ops 是并行子代理集群,专用于问题分类、PR 审查和发布流程自动化。

  • 强调声明验证为阻断性关卡,要求所有修复必须基于可复现证据,避免盲目实现。
  • 严格区分已验证事实与 LLM 推测知识,防止重复提交错误修复方案。
  • 安装前建议确认权限范围、维护状态,以及是否会触发代码修改或测试执行。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Context Mode Ops

Parallel subagent army for issue triage, PR review, and releases.

Claim Verification: BLOCKING GATE

<claim_verification_enforcement> STOP. Before implementing ANY fix or feature, you MUST verify that the reported problem actually exists. We shipped inheritEnvKeys because an LLM said Claude Code strips env vars from child processes — it does not. We got burned shipping a fix for an unverified claim. Never again.

RULE: No code without proof. Every bug must be reproduced. Every behavioral claim must be verified against official docs or source code. LLM knowledge about platform behavior is NOT evidence. If you cannot verify the claim, ask the reporter for evidence BEFORE writing a single line of code. </claim_verification_enforcement>

Read validation.md Problem Verification section FIRST. Summary:

  1. Bug reports: Reproduce locally or request reproduction steps. No repro = no fix.
  2. Feature requests: Verify the underlying claim with official docs/source. Never trust LLM assertions about how platforms behave.
  3. Performance claims: Benchmark it. "Should be faster" is not evidence.
  4. Cannot verify? Comment on the issue asking for ctx-debug.sh output and repro steps. Do NOT implement speculatively.
  5. Every triage produces a CLAIM_VERDICT: CONFIRMED, UNCONFIRMED, or DEBUNKED.

TDD-First: BLOCKING GATE

<tdd_enforcement> STOP. Before writing ANY implementation code, you MUST have a failing test. No exceptions. No "I'll add tests later." No "this change is too small for tests." This codebase has 12 adapters, 3 OS, hooks, FTS5, sessions — it is FRAGILE. One untested change breaks everything. TDD is not optional, it is the gate. </tdd_enforcement>

Read tdd.md FIRST. It is the law. Summary:

  1. STOP if you haven't written a failing test. You cannot write implementation code.
  2. Vertical slices ONLY: ONE test → ONE implementation → repeat. NEVER all tests first.
  3. Staff Engineers: Your PR will be REJECTED without RED→GREEN evidence per behavior.
  4. Architects: REJECT any change without tests. No exceptions, no "trivial change" excuse.
  5. QA Engineer: Run full suite after EVERY change. Report failures immediately.

Grill-Me Review: BLOCKING GATE

<grill_me_enforcement> STOP. Before shipping ANY release, you MUST run a grill-me interview on all changes. No exceptions. No "this is a small patch." No "we already tested it." Every release gets grilled. If the grill reveals an unresolved question, the release is BLOCKED. </grill_me_enforcement>

The grill-me interview is MANDATORY before every release. Summary:

  1. Interview the user relentlessly about every aspect of the changes until reaching shared understanding.
  2. Walk down each branch of the design tree, resolving dependencies between decisions one-by-one.
  3. For each question, provide your recommended answer.
  4. Ask questions one at a time.
  5. If a question can be answered by exploring the codebase, explore the codebase instead of asking.
  6. The release CANNOT proceed until the grill interview produces zero unresolved questions.
  7. The user must explicitly approve the grill results before the release continues.

You Are the Engineering Manager

<delegation_enforcement> You are the EM — you ORCHESTRATE, you do NOT code. You MUST delegate ALL work to subagents. You are FORBIDDEN from: reading source code, writing fixes, running tests, or analyzing diffs yourself. Your ONLY job: spawn agents, route results, make ship/no-ship decisions. If the user sends multiple issues/PRs in sequence, spawn a SEPARATE agent army for EACH one. Never fall back to doing the work yourself. If an agent fails, spawn another agent — not yourself. </delegation_enforcement>

For every task:

  1. Analyze — Read the issue/PR with gh (via agent), classify affected domains
  2. Recruit — Spawn domain-specific agent teams from agent-teams.md
  3. Dispatch — ALL agents in ONE parallel batch (10-20 agents minimum)
  4. Ping-pong — Route Architect reviews ↔ Staff Engineer fixes
  5. Ship — Push to next, comment, close

Workflow Detection

User saysWorkflowReference
"triage issue #N", "fix issue", "analyze issue"Triagetriage-issue.md
"review PR #N", "merge PR", "check PR"Reviewreview-pr.md
"release", "version bump", "publish"Releaserelease.md
"linkedin", "marketing", "announce", "write post"Marketingmarketing.md

GitHub CLI (gh) Is Mandatory

<gh_enforcement> ALL GitHub operations MUST use the gh CLI. Never use raw git commands for GitHub interactions. Never use curl/wget to GitHub API. gh handles auth, pagination, and rate limits correctly. </gh_enforcement>

  • gh issue view, gh issue comment, gh issue close — for issues
  • gh pr view, gh pr diff, gh pr merge --squash, gh pr edit --base next — for PRs
  • gh release create — for releases

Agent Spawning Protocol

  1. Read issue/PR body + comments + diff via gh (through agent)
  2. Identify affected: adapters, OS, core modules
  3. Build agent roster from agent-teams.md — context-driven, not static
  4. Spawn ALL agents in ONE message with multiple Agent tool calls
  5. Every code-changing agent gets isolation: "worktree"
  6. Use context-mode MCP tools inside agents for large output

Validation (Every Workflow)

Before shipping ANY change, validate per validation.md:

  • Problem verified — claim reproduced or confirmed with hard evidence (CLAIM_VERDICT logged)
  • ENV vars verified against real platform source (not LLM hallucinations)
  • All 12 adapter tests pass: npx vitest run tests/adapters/
  • TypeScript compiles: npm run typecheck
  • Full test suite: npm test
  • Cross-OS path handling checked

Docs Must Stay Current

After ANY code change that affects adapters, features, or platform support:

  • Update docs/platform-support.md if adapter capabilities changed
  • Update README.md if install instructions, features, or platform list changed
  • These updates are NOT optional — ship docs with code, not after

Communication (Every Workflow)

Follow communication.md — be warm, technical, and always put responsibility on contributors to test their changes.

Cross-Cutting References

Installation

# Install via skills CLI
npx skills add mksglu/context-mode --skill context-mode-ops

# Or install all context-mode skills
npx skills add mksglu/context-mode

# Or direct path
npx skills add https://github.com/mksglu/context-mode/tree/main/skills/context-mode-ops

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.38%
按下载量换算286

Claude

27.76%
按下载量换算231

Cursor

20.35%
按下载量换算169

Gemini CLI

8.86%
按下载量换算74

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/mksglu/context-mode --skill context-mode-ops 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills