Skip to content
cccskills
FreePublished on GitHub

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.

The English summary is being prepared. Showing the original description.

diegosouzapw/awesome-omni-skill66 stars(GitHub 66 + cccskills 0)

Run score Not tested

See how to install

Files included (2)

  • SKILL.md4.7 KB
  • metadata.json1.4 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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:

FileOperations
.agent/constitution.mdRead/write directly
.agent/focus.mdRead/write directly
.agent/memory.mdRead/write directly
.agent/baseline.mdRead/write directly
.agent/issues/{priority}.mdRead/append/edit directly

Issue Management (File-Based)

OperationHow to Do It
List issues by priorityRead .agent/issues/{priority}.md directly
Show issue detailsSearch for issue ID in priority files
Create issueAppend to appropriate .agent/issues/{priority}.md file
Update issue statusEdit status: field directly in file
Close issueSet status: done + move to history.md
Get summaryCount issues across priority files

Git Status

# 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 (when aoc is available)

When aoc CLI is detected in .agent/tools.json, these commands provide convenience shortcuts:

OperationCLI Command
List issues by priorityaoc issues list --priority critical
Show issue detailsaoc issues show <ID>
Create issueaoc issues create --type BUG --title "..."
Update issue statusaoc issues update <ID> --status in-progress
Close issueaoc issues close <ID>
Get summaryaoc issues summary

Note: CLI is optional — all operations can be performed via direct file editing.

When to Use

  • At the start of a session/response
  • After any meaningful step (analysis/plan decision/implementation/test run)
  • When adding/updating issues
  • Before concluding a response

Session Start

At session start:

  1. Check for staleness: Delegate to agent-ops-git stale detection
  2. Read state files in order (see below)
  3. Validate issue dependencies before starting work

Required Reads (in this order)

  1. .agent/constitution.md
  2. .agent/focus.md
  3. .agent/memory.md
  4. .agent/issues/index.md (compact issue summary — read this FIRST for issue overview)
  5. .agent/issues/critical.md and .agent/issues/critical-*.md (only if working on critical)
  6. .agent/issues/high.md and .agent/issues/high-*.md (only if working on high)
  7. .agent/issues/medium.md and .agent/issues/medium-*.md (only if needed)
  8. .agent/issues/low.md and .agent/issues/low-*.md (only if needed)
  9. .agent/baseline.md (if present)

Context Optimization: Read index.md first to understand the issue landscape. Only read full priority files when actively working on an issue from that priority level.

Note on split files: Issue files may be split when they exceed 100K. Always scan for {priority}-*.md files (e.g., backlog-1.md, history-2.md). Oldest issues are in numbered files, newest in the main file.

Required Updates

.agent/focus.md

Must always contain:

  • Session info (last_updated timestamp, branch, last_commit)
  • Just did (what changed since last update)
  • Doing now (current objective + issue ID if working on one)
  • Next (single best next step + prerequisites/unknowns)

.agent/issues/{priority}.md

  • Issues stored by priority: critical.md, high.md, medium.md, low.md
  • Only use the repo issue format (see template)
  • Create issues for follow-ups, blockers, open questions, approvals needed
  • Validate depends_on before starting an issue

.agent/memory.md

  • Only store durable learnings (workflow rules, stable conventions)
  • Do not duplicate constitution content

Dependency Validation

Before starting an issue:

  1. Read issue's depends_on field
  2. Search all priority files for dependency issues
  3. Check each dependency's status
  4. If any dependency is not done: mark issue as blocked, note which
  5. Only proceed if all dependencies satisfied

Templates

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

[00] TnR ABSOLUTE RIGOR — Systemic Verification Doctrine. Forced cognitive exertion for high-stakes investigations. Mandates absolute deconstruction, mathematical proof chains, and ≥95% derived certainty. Zero-tolerance for heuristics or sentiment-based reasoning. Shortcuts are defined as intentional hallucinations.

The English summary is being prepared. Showing the original description.

diegosouzapw/awesome-omni-skill66Updated Mar 2, 2026

2agent

Free

Configures 2-Agent workflow between PM and implementation roles. Use when user mentions 2-Agent, 2エージェント, PM連携設定, Cursor設定, Cursor連携, 2-agent運用. Do NOT load for: 単独運用, ワークフロー実行, ハンドオフ処理.

The English summary is being prepared. Showing the original description.

diegosouzapw/awesome-omni-skill66Updated Mar 2, 2026

Appends relevant hashtags to journal entries based on content analysis. Intended for LLM execution.

The English summary is being prepared. Showing the original description.

diegosouzapw/awesome-omni-skill66Updated Mar 2, 2026

Add a new AI coding agent to Agent Sandbox. Creates all required files (Dockerfile, templates, CI, docs) and wires the agent into the CLI, proxy, and build system.

The English summary is being prepared. Showing the original description.

diegosouzapw/awesome-omni-skill66Updated Mar 2, 2026

Add a new property to the AI agents database. Use when the user wants to add, create, or introduce a new column, property, field, or feature to track across all agents in the comparison matrix. Handles all four required steps - database updates, groups.json, table display, and GitHub issue templates.

The English summary is being prepared. Showing the original description.

diegosouzapw/awesome-omni-skill66Updated Mar 2, 2026

Add new Agent templates to the meta-agent-skills framework.

The English summary is being prepared. Showing the original description.

diegosouzapw/awesome-omni-skill66Updated Mar 2, 2026

See all skills by diegosouzapw

Report a problem with this skill