Agent ops focus scan

From diegosouzapw/awesome-omni-skill · View interactive version

Agent ops focus scan is an AI agent skill from the GitHub repository diegosouzapw/awesome-omni-skill. Analyze issues to identify the next work item and update focus.md. Enforces issue-first workflow and confidence-based batch limits.

How to use this skill

Skill file

Focus Scan

Purpose

Align session focus with the highest priority pending issue. Enforces that all work is tracked as issues and respects confidence-based batch limits.

Context Optimization

Read index.md first for quick issue overview. Only load full priority files when selecting specific issues to work on.

1. Read .agent/issues/index.md (compact summary)
2. Identify target priority level from index
3. Load only that priority file for full details

CLI Commands

Works with or without aoc CLI installed. Focus scanning can be done via direct file reading.

File-Based Priority Scan (Default)

1. Read .agent/issues/index.md (compact summary)
2. Identify target priority level from index
3. Load only that priority file for full details
4. Filter for status: todo or open
5. Select first actionable issue (respecting depends_on)

Focus Update (File-Based)

  1. Read current .agent/focus.md
  2. Update "Doing now" section with selected issue
  3. Update "Next" section with immediate step

CLI Integration (when aoc is available)

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

| Command | Purpose |

|---------|---------|

| aoc issues list --status todo,open --priority critical | Find critical actionable issues |

| aoc issues list --status todo,open --priority high | Find high priority issues |

| aoc issues list --status blocked | Find blocked issues |

| aoc issues show <ID> | Check issue details |

| aoc issues summary | Quick status overview |

Confidence-Based Batch Limits

| Confidence | Max Issues per Iteration | Rationale |

|------------|-------------------------|-----------|

| LOW | 1 (hard limit) | High uncertainty requires focused human oversight |

| NORMAL | Up to 3 | Standard workflow with reasonable batching |

| HIGH | Up to 5 | Well-understood work can be batched |

Enforcement:

Issue-First Enforcement

Before starting any work:

  1. Check for existing issue: Is there an issue for the requested work?
  1. If user requests work without an issue:

```

⚠️ No issue found for this work.

All work should be tracked for auditability.

Create an issue first?

[Y]es, create and start / [N]o, work without tracking

Suggested: {TYPE}-{next}@{hash} — "{inferred title}"

```

  1. Even simple chores need issues:

Procedure

  1. Check confidence level (from constitution or task):
  1. Scan priority files in order (stop when actionable issue found):
  1. Identify the highest priority issue where:
  1. Apply batch limit based on confidence:

For LOW confidence:

```

🎯 LOW CONFIDENCE MODE — Single Issue Focus

Selected: {ISSUE-ID} — {title}

Batch size: 1 (hard limit for low confidence)

This issue will receive:

Proceed with this issue? [Y]es / [N]o, select different

```

For NORMAL confidence:

```

📋 Selected {N} issues for this iteration (max 3):

1. {ISSUE-ID-1} — {title}

2. {ISSUE-ID-2} — {title}

Proceed? [Y]es / [M]odify selection / [S]ingle issue only

```

For HIGH confidence:

  1. Action based on findings:

If an actionable issue is found:

```markdown

## Doing now

## Next

```

If all issues are blocked:

If no prioritized issues exist but backlog has items:

```

📋 No prioritized issues, but {N} items in backlog.

1. Triage backlog (/agent-task triage)

2. Create new issue (/agent-task)

3. Run discovery (/agent-baseline, /agent-review)

```

If no issues exist at all:

```

📋 No issues anywhere. What would you like to do?

1. Create new issues (/agent-task)

2. Run discovery to find work (/agent-baseline, /agent-review)

3. Describe what you want to work on (I'll create an issue)

```

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.