Agent skill · AI & Agents

agent-ops-state

Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill agent-ops-state --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 5 KB
Bundled scripts: none
Path: skills/agent/agent-ops-state/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# AgentOps State Discipline **Works with or without `aoc` CLI installed.** State management uses direct file operations by default. ## State File Operations (Default) All state files are managed via direct file operations: | File | Operations | |------|-----------| | `.agent/constitution.md` | Read/write directly | | `.agent/focus.md` | Read/write directly | | `.agent/memory.md` | Read/write directly | | `.agent/baseline.md` | Read/write directly | | `.agent/issues/{priority}.md` | Read/append/edit directly | ### Issue Management (File-Based) | Operation | How to Do It | |-----------|--------------| | List issues by priority | Read `.agent/issues/{priority}.md` directly | | Show issue details | Search for issue ID in priority files | | Create issue | Append to appropriate `.agent/issues/{priority}.md` file | | Update issue status | Edit `status:` field directly in file | | Close issue | Set `status: done` + move to `history.md` | | Get summary | Count issues across priority files | ### Git Status ```bash # Check current branch git branch --show-current # Check for uncommitted changes git status --porcelain # Get last commit hash git rev-parse --short HEAD ``` ## CLI Integration (wh

What's inside
Steps it walks through
  1. State File Operations (Default)
  2. Issue Management (File-Based)
  3. Git Status
  4. CLI Integration (when aoc is available)
  5. When to Use
  6. Session Start
  7. Required Reads (in this order)
  8. Required Updates
  9. .agent/focus.md
  10. .agent/issues/{priority}.md
  11. .agent/memory.md
  12. Dependency Validation
  13. Templates
Ships with 1 file
  • metadata.json
Commands it runs
Check current branch
git branch --show-current
Check for uncommitted changes
git status --porcelain
Get last commit hash
git rev-parse --short HEAD
More from claude-skill-registry
All skills →
About this skill
What does the agent-ops-state skill do?

Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill agent-ops-state --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going