agent-ops-state
БесплатноБез исполняемых скриптовНе проверенMaintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline…
от diegosouzapw★ 68 звёзд на GitHubОб этом скилле
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
# 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:
| Operation | CLI Command |
|---|---|
| List issues by priority | aoc issues list --priority critical |
| Show issue details | aoc issues show <ID> |
| Create issue | aoc issues create --type BUG --title "..." |
| Update issue status | aoc issues update <ID> --status in-progress |
| Close issue | aoc issues close <ID> |
| Get summary | aoc 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:
- Check for staleness: Delegate to
agent-ops-gitstale detection - Read state files in order (see below)
- Validate issue dependencies before starting work
Required Reads (in this order)
.agent/constitution.md.agent/focus.md.agent/memory.md.agent/issues/index.md(compact issue summary — read this FIRST for issue overview).agent/issues/critical.mdand.agent/issues/critical-*.md(only if working on critical).agent/issues/high.mdand.agent/issues/high-*.md(only if working on high).agent/issues/medium.mdand.agent/issues/medium-*.md(only if needed).agent/issues/low.mdand.agent/issues/low-*.md(only if needed).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_onbefore 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:
- Read issue's
depends_onfield - Search all priority files for dependency issues
- Check each dependency's status
- If any dependency is not
done: mark issue asblocked, note which - Only proceed if all dependencies satisfied
Templates
Установить agent-ops-state в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл 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.
Как установить скилл agent-ops-state?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл agent-ops-state запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic