Agent skill

Terminal Ops

by affaan-m in affaan-m/ECC

基于证据优先的仓库执行工作流,适用于ECC。当用户需要运行命令、检查仓库、调试CI失败或推送带有精确执行和验证证明的窄修复时使用。

MITAuto-check passedDevelopment

Install Terminal Ops

skills CLI
$ npx skills add affaan-m/ECC --skill terminal-ops -a claude-code

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

GitHub CLI
$ gh skill install affaan-m/ECC terminal-ops --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/affaan-m/ECC.git skills-src && mkdir -p .claude/skills && cp -r skills-src/docs/zh-CN/skills/terminal-ops .claude/skills/terminal-ops && 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
terminal-ops
GitHub stars
276k
Token cost
~323 tokens
SKILL.md length
85 words
Files
1
Skills in repo
683
Repo updated
First seen
Licence
MIT

At a glance

基于证据优先的仓库执行工作流,适用于ECC。当用户需要运行命令、检查仓库、调试CI失败或推送带有精确执行和验证证明的窄修复时使用。

  • Works in 4 steps: 确定工作表面 → 首先读取失败表面 → 保持修复的窄幅 → …
  • Development work in your project
  • SKILL.md covers 技能栈, 使用时机, 安全护栏 and 工作流, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Terminal Ops is an agent skill from affaan-m/ECC. 基于证据优先的仓库执行工作流,适用于ECC。当用户需要运行命令、检查仓库、调试CI失败或推送带有精确执行和验证证明的窄修复时使用。

Its SKILL.md is about 320 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development. It works with Git. The repository describes itself as: The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond. The licence is MIT.

When your agent uses it

  • Development work in your project

Example prompts

  • “/terminal-ops”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. 确定工作表面
  2. 首先读取失败表面
  3. 保持修复的窄幅
  4. 报告确切的执行状态

What it can do on your machine

Read from SKILL.md and the folder at commit 4eb71d9. 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

Terminal Ops loads about 323 tokens when it runs. Until then it costs about 20 tokens; SKILL.md has 85 words of instructions outside code blocks.

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

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 affaan-m/ECC at commit 4eb71d9, republished under its MIT licence (© affaan-m). 85 words, ~323 tokens.

Download SKILL.mdSave it as .claude/skills/terminal-ops/SKILL.md (or your agent's skills folder).
name
terminal-ops
description
基于证据优先的仓库执行工作流,适用于ECC。当用户需要运行命令、检查仓库、调试CI失败或推送带有精确执行和验证证明的窄修复时使用。
origin
ECC

终端操作

当用户需要真实的仓库执行时使用此技能:运行命令、检查 git 状态、调试 CI 或构建、进行窄幅修复,并准确报告更改和验证的内容。

此技能有意比通用编码指导更窄。它是一种以证据为先的终端执行操作工作流。

技能栈

在相关时,将这些 ECC 原生技能引入工作流:

  • verification-loop 用于更改后的精确验证步骤
  • tdd-workflow 当正确的修复需要回归覆盖时
  • security-review 当涉及密钥、认证或外部输入时
  • github-ops 当任务依赖于 CI 运行、PR 状态或发布状态时
  • knowledge-ops 当需要将验证结果捕获到持久的项目上下文中时

使用时机

  • 用户说"修复"、"调试"、"运行这个"、"检查仓库"或"推送它"
  • 任务依赖于命令输出、git 状态、测试结果或已验证的本地修复
  • 答案必须区分:本地已更改、本地已验证、已提交和已推送

安全护栏

  • 先检查再编辑
  • 如果用户仅要求审计/审查,则保持只读
  • 优先使用仓库本地的脚本和辅助工具,而非即兴的临时封装
  • 在验证命令重新运行之前,不得声称已修复
  • 除非分支确实已推送到上游,否则不得声称已推送

工作流

1. 确定工作表面

明确:

  • 确切的仓库路径
  • 分支
  • 本地差异状态
  • 请求的模式:
    • 检查
    • 修复
    • 验证
    • 推送
2. 首先读取失败表面

在更改任何内容之前:

  • 检查错误
  • 检查文件或测试
  • 检查 git 状态
  • 在盲目重新读取之前,使用任何已提供的日志或上下文
3. 保持修复的窄幅

一次解决一个主要失败:

  • 首先使用最小的有用验证命令
  • 仅在本地失败解决后,才升级到更大的构建/测试流程
  • 如果某个命令持续以相同特征失败,停止广泛重试并缩小范围
4. 报告确切的执行状态

使用确切的状态词:

  • 已检查
  • 本地已更改
  • 本地已验证
  • 已提交
  • 已推送
  • 已阻塞

输出格式

text
表面
- 仓库
- 分支
- 请求模式

证据
- 失败的命令 / 差异 / 测试

操作
- 变更内容

状态
- 已检查 / 本地已更改 / 本地已验证 / 已提交 / 已推送 / 已阻止

陷阱

  • 当可以读取实时仓库状态时,不要依赖过时的记忆
  • 不要将窄幅修复扩大为仓库范围的变动
  • 不要使用破坏性的 git 命令
  • 不要忽略不相关的本地工作

验证

  • 响应中需指明验证命令或测试
  • 与 git 相关的工作需指明仓库路径和分支
  • 任何推送声明需包含目标分支和确切结果

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

Files

Just SKILL.md in docs/zh-CN/skills/terminal-ops of affaan-m/ECC.

Open the folder on GitHubat commit 4eb71d9

Compare with similar skills

Terminal Ops 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.

Terminal Ops compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Terminal Ops this skillaffaan-m/ECC276k—~323Automated safety check: PassMIT
Finishing a Development Branchobra/superpowers297k5 repos~1.9kAutomated safety check: PassMIT
Code Review ChecklistshareAI-lab/learn-claude-code78k4 repos~1.1kAutomated safety check: PassMIT
Contributor-First PR MergeHKUDS/OpenHarness16k1 repos~847Automated safety check: PassMIT
Finishing A Development Branchfarm-fe/farm5.6k35 repos~1.8kAutomated safety check: PassMIT
Migrate Internal Package into GhostTryGhost/Ghost56k—~3.8kAutomated safety check: PassMIT

Similar skills

  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    297k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 4 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.

    16k GitHub starsUsed in 1 repo~847 tokens
    DevelopmentAuto-check passed
  • A skill your agent uses when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for…

    5.6k GitHub starsUsed in 35 repos~1.8k tokens
    DevelopmentAuto-check passed
  • Moves a package from another TryGhost repository into Ghost as an internal workspace package while keeping its Git history, with checkpoints for the steps that need an administrator.

    56k GitHub stars~3.8k tokensUpdated today
    DevelopmentAuto-check passed
  • Doc Sync

    JetBrains/ideavim

    Official

    Keeps IdeaVim documentation in sync with code changes. An agent skill from JetBrains/ideavim.

    10k GitHub starsUsed in 2 repos~2.6k tokens
    DevelopmentAuto-check passed

More from affaan-m/ECC

All 682 skills in this repo
  • Skill Stocktake

    affaan-m/ECC

    Audits your installed Claude skills and commands for quality, with a quick mode for recently changed skills and a full mode that evaluates all of them through subagents.

    277k GitHub starsUsed in 5 repos~3.1k tokens
    Auto-check passed
  • Ingests, indexes, searches, edits and monitors video, audio and live streams through the VideoDB Python SDK, returning stream links, clips and timestamps.

    277k GitHub starsUsed in 3 repos~3.5k tokens
    Auto-check: notes
  • Docs Governance

    affaan-m/ECC

    Route broad documentation-governance requests to existing ECC skills and run an opt-in, read-only audit of mapped documentation roles, links, ADR indexes, and evidence references.

    277k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Rules Distillation

    affaan-m/ECC

    Scans installed skills for principles that recur across them and proposes rule-file changes: append, revise, add a section, create a file or leave as covered.

    277k GitHub starsUsed in 2 repos~2.3k tokens
    Auto-check passed
  • Builds DRAFT counterparty agreements from one markdown template and a small JSON spec per party, with clauses picked by the party's role.

    277k GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Set an ECC-specific frontend design direction for production UI work.

    277k GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed

Works with

Categories

Questions about Terminal Ops

What does Terminal Ops do?

基于证据优先的仓库执行工作流,适用于ECC。当用户需要运行命令、检查仓库、调试CI失败或推送带有精确执行和验证证明的窄修复时使用。. Terminal Ops is an agent skill from affaan-m/ECC.

When should I use Terminal Ops?

Terminal Ops fits situations like: development work in your project.

How do I install Terminal Ops in Claude Code?

Run `npx skills add affaan-m/ECC --skill terminal-ops -a claude-code`. Or copy the skill folder (docs/zh-CN/skills/terminal-ops in affaan-m/ECC) into .claude/skills/terminal-ops in your project. Claude Code loads it when a task matches its description.

How do I install Terminal Ops in Codex?

Run `npx skills add affaan-m/ECC --skill terminal-ops -a codex`. Or copy the skill folder (docs/zh-CN/skills/terminal-ops in affaan-m/ECC) into .agents/skills/terminal-ops in your project. Codex loads it when a task matches its description.

Can I use Terminal Ops 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 affaan-m/ECC --skill terminal-ops -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/terminal-ops, .gemini/skills/terminal-ops, .github/skills/terminal-ops and .opencode/skills/terminal-ops in your project.

What does Terminal Ops need to run?

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

Does Terminal Ops 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 Terminal Ops 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 Terminal Ops use?

Terminal Ops 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 Terminal Ops use?

About 323 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 Terminal Ops?

Skills that share tags, products or a category with Terminal Ops: Finishing a Development Branch (obra/superpowers, 297k stars), Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars), Contributor-First PR Merge (HKUDS/OpenHarness, 16k stars) and Finishing A Development Branch (farm-fe/farm, 5.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Terminal Ops?

affaan-m (a GitHub user) maintains it in affaan-m/ECC, which has 276,111 GitHub stars. The repository holds 683 skills in this directory. The repository was last updated on October 10, 2026.

Source: affaan-m/ECC on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.