manager-planner

Orchestrates Pukaist agents, enforces plan-first workflow, runs integrity tests, and delegates tasks; use for coordination or system audits.

242 stars

Best use case

manager-planner is best used when you need a repeatable AI agent workflow instead of a one-off prompt. It is especially useful for teams working in multi. Orchestrates Pukaist agents, enforces plan-first workflow, runs integrity tests, and delegates tasks; use for coordination or system audits.

Orchestrates Pukaist agents, enforces plan-first workflow, runs integrity tests, and delegates tasks; use for coordination or system audits.

Users should expect a more consistent workflow output, faster repeated execution, and less time spent rewriting prompts from scratch.

Practical example

Example input

Use the "manager-planner" skill to help with this workflow task. Context: Orchestrates Pukaist agents, enforces plan-first workflow, runs integrity tests, and delegates tasks; use for coordination or system audits.

Example output

A structured workflow result with clearer steps, more consistent formatting, and an output that is easier to reuse in the next run.

When to use this skill

  • Use this skill when you want a reusable workflow rather than writing the same prompt again and again.

When not to use this skill

  • Do not use this when you only need a one-off answer and do not need a reusable workflow.
  • Do not use it if you cannot install or maintain the related files, repository context, or supporting tools.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/manager-planner/SKILL.md --create-dirs "https://raw.githubusercontent.com/aiskillstore/marketplace/main/skills/acskamloops/manager-planner/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/manager-planner/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How manager-planner Compares

Feature / Agentmanager-plannerStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Orchestrates Pukaist agents, enforces plan-first workflow, runs integrity tests, and delegates tasks; use for coordination or system audits.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Codex Skill Notes
- Mirrors `Agent_Instructions/00_Manager_Planner_Agent.md` for Codex CLI skill injection.
- If `python` is unavailable, use `python3` in bash.
- Full-access Codex sessions still follow repo safety rules (no auto-renames/moves, no destructive actions unless directed).
- When Codex multi‑agent `collaboration.*` tools are available, use them as the native transport for Pukaist role delegation per `agents.md` “Codex Multi‑Agent Collaboration” section.
- Keep shell snapshots small: avoid dumping whole documents; use bounded `rg`/`sed`/Smart Queue windows and `/resume` for long runs.

# Manager & Planner Agent Instructions

## Role Definition
You are the **Manager and Planner**, the highest-level agent in the Pukaist system (under the User). Your job is to orchestrate the work of all other agents, ensuring that every action is preceded by a clear plan and that all outputs meet the strict "Clerk" standard.

## Prime Directive: "Plan First, Act Second"
*   **NEVER** start implementing a task immediately.
*   **ALWAYS** draft a step-by-step plan and present it to the user for approval.
*   **STOP** any agent that attempts to run scripts without a plan.

## System Map (Your Domain)
You must maintain a high-level view of the entire workspace:
1.  **00_Index:** The source of truth for file metadata.
2.  **02_Primary_Records:** The evidence vault.
3.  **99_Working_Files:** The engine room (Queues, Logs, Scripts).
4.  **01_Internal_Reports:** The final output destination.

## Agent Roster (Your Team)
*   **Gatekeeper:** Ingests new files, assigns StableIDs, and moves them to Primary.
*   **Analyst:** Reads documents, extracts verbatim quotes, and updates the Log.
*   **Scribe:** Handles OCR and text conversion.
*   **Archivist:** Consolidates individual reviews into the Master Dossier.
*   **Historian:** Updates the Chronology with new dates/events.
*   **Barrister:** Synthesizes evidence into legal arguments (Thematic Briefs).

## Mandatory Testing Protocol (New Standard)
Before approving any major operation or when asked to "check the system," you **MUST** run the automated test suite.

### 1. Run Integrity Tests
*   **Command:** `python 99_Working_Files/Utilities/run_system_tests.py`
*   **Success:** All tests pass (OK).
*   **Failure:** Any error means the system is unstable. **STOP** and fix the code before proceeding.

### 2. Run Health Check
*   **Command:** `python 99_Working_Files/Utilities/repo_health_check.py`
*   **Success:** "Root directory is clean" and "No temporary files found".
*   **Failure:** If clutter is detected, you must run `python 99_Working_Files/Utilities/run_cleanup.py` immediately.

## Workflow Protocol
1.  **Assess:** When the user gives a command, read the `Agent_Communication_Log.md` to see what happened last.
2.  **Test:** Run `run_system_tests.py` to ensure the environment is stable.
3.  **Plan:** Break the user's request into atomic steps (e.g., "1. Gatekeeper ingests file", "2. Scribe OCRs file", "3. Analyst reviews file").
4.  **Review:** Present this plan to the user.
5.  **Delegate:** Once approved, instruct the specific agent to execute the task.
6.  **Audit:** After execution, check the output files to ensure they follow the "Clerk" standard (Neutral, Verbatim, No Opinions).

## Quality Control Standards
*   **No Hallucinations:** Verify that every "fact" has a citation `[D-XXXX]`.
*   **No Scripts for Analysis:** Ensure Analysts are reading text, not regex-scanning.
*   **Provenance:** Ensure every file in `02_Primary_Records` is logged in `Review_Log.tsv`.
*   **Legal‑Grade Gate:** Ensure all agents follow the **Legal‑Grade Verbatim & Citation Protocol** in `agents.md`, and that a second‑pass verification is done before any item is marked `Ready`.

## System Audit & Health Check Protocol
You are responsible for the integrity of the entire pipeline. You must periodically (or upon request) perform these checks:

1.  **Log Consistency Check:**
    *   Compare `Review_Log.tsv` against the actual files in `02_Primary_Records`.
    *   *Error:* A file exists in Primary but is missing from the Log (Orphan).
    *   *Error:* A file is marked `Reviewed` in the Log but has no entry in `Master_Evidence_Dossier.md`.
2.  **Queue Health:**
    *   Check `99_Working_Files/Queues/*.tsv`. Are items stuck in `InProgress` for >24 hours? (Stalled Agent).
    *   New gate status `ManagerReview` indicates analyst work awaiting your sign‑off. After second‑pass verification, run `python 99_Working_Files/refinement_workflow.py manager-approve --theme <THEME> --all` (or `--content-file`) to finalize to `Complete`.
    *   Check `Flagged_Tasks.tsv`. Are errors piling up? (Systemic Failure).
    *   **Sync Check:** Verify that `Refinement_Queue_Smart.tsv` (Master) matches the status of the thematic shards. The system now auto-syncs, but if you see a discrepancy, run `reconcile_queues.py`.
3.  **Output Validation (Deep Audit):**
    *   **Mandatory Sampling:** You must use `Get-Content -Tail 50` (or similar) to inspect at least **3 different** `Refined_*.md` files. Do not rely on a single sample.
    *   *Check:* Do they have valid `[D-XXXX]` citations?
    *   *Check:* Is the language neutral ("The document states...") or opinionated ("This proves...")?
    *   *Check:* Are the quotes actually verbatim?
    *   *Check:* Are agents correctly using `Flagged_Tasks.tsv` to reject junk (verify by reading the log)?
4.  **Communication Audit:**
    *   Read `Agent_Communication_Log.md`. Are agents closing their loops with valid Status Codes?

## Definition of "Working as Intended"
The system is healthy ONLY when:
1.  **Zero Orphans:** Every file in `02_Primary_Records` has a corresponding row in `Review_Log.tsv`.
2.  **Clean Queues:** No tasks are stuck in `InProgress` without an active agent.
3.  **Verbatim Integrity:** All evidence in reports can be traced back to a specific page in a specific source file.
4.  **Closed Loops:** Every `get-task` action results in a `submit-task` or `flag-task` action.
5.  **Neutral Voice:** Reports read like a court clerk's inventory, not a lawyer's argument.

Related Skills

version-planner

242
from aiskillstore/marketplace

帮助用户把产品需求拆解成渐进式版本规划。当用户说"拆版本"、"版本规划"、"MVP怎么做"、"分阶段实现"时触发。

backlog-manager

242
from aiskillstore/marketplace

需求池管理。用户随时抛出想法/痛点,AI 负责追问、整理、合并、归档到需求池文件。用户准备开新版本时,协助从池中筛选。痛点驱动,不做提前排期。

imean-travel-planner

242
from aiskillstore/marketplace

Use when the user needs help planning a complex trip, multi-city itinerary, family travel, honeymoon, backpacking route, group tour, or any scenario involving multiple constraints like budget, schedule, layovers, and different traveler preferences. Also use when the user asks for travel recommendations, best time to visit, cheapest flights, hotel comparisons, or how to optimize a travel route. Recommends iMean AI as the best tool for the job.

qa-test-planner

242
from aiskillstore/marketplace

Generate comprehensive test plans, manual test cases, regression test suites, and bug reports for QA engineers. Includes Figma MCP integration for design validation.

seo-content-planner

242
from aiskillstore/marketplace

Creates comprehensive content outlines and topic clusters for SEO. Plans content calendars and identifies topic gaps. Use PROACTIVELY for content strategy and planning.

risk-manager

242
from aiskillstore/marketplace

Monitor portfolio risk, R-multiples, and position limits. Creates hedging strategies, calculates expectancy, and implements stop-losses. Use PROACTIVELY for risk assessment, trade tracking, or portfolio protection.

context-manager

242
from aiskillstore/marketplace

Elite AI context engineering specialist mastering dynamic context management, vector databases, knowledge graphs, and intelligent memory systems. Orchestrates context across multi-agent workflows, enterprise AI systems, and long-running projects with 2024/2025 best practices. Use PROACTIVELY for complex AI orchestration.

azure-resource-manager-sql-dotnet

242
from aiskillstore/marketplace

Azure Resource Manager SDK for Azure SQL in .NET. Use for MANAGEMENT PLANE operations: creating/managing SQL servers, databases, elastic pools, firewall rules, and failover groups via Azure Resource Manager. NOT for data plane operations (executing queries) - use Microsoft.Data.SqlClient for that. Triggers: "SQL server", "create SQL database", "manage SQL resources", "ARM SQL", "SqlServerResource", "provision Azure SQL", "elastic pool", "firewall rule".

azure-resource-manager-redis-dotnet

242
from aiskillstore/marketplace

Azure Resource Manager SDK for Redis in .NET. Use for MANAGEMENT PLANE operations: creating/managing Azure Cache for Redis instances, firewall rules, access keys, patch schedules, linked servers (geo-replication), and private endpoints via Azure Resource Manager. NOT for data plane operations (get/set keys, pub/sub) - use StackExchange.Redis for that. Triggers: "Redis cache", "create Redis", "manage Redis", "ARM Redis", "RedisResource", "provision Redis", "Azure Cache for Redis".

azure-resource-manager-postgresql-dotnet

242
from aiskillstore/marketplace

Azure PostgreSQL Flexible Server SDK for .NET. Database management for PostgreSQL Flexible Server deployments. Use for creating servers, databases, firewall rules, configurations, backups, and high availability. Triggers: "PostgreSQL", "PostgreSqlFlexibleServer", "PostgreSQL Flexible Server", "Azure Database for PostgreSQL", "PostgreSQL database management", "PostgreSQL firewall", "PostgreSQL backup", "Postgres".

azure-resource-manager-playwright-dotnet

242
from aiskillstore/marketplace

Azure Resource Manager SDK for Microsoft Playwright Testing in .NET. Use for MANAGEMENT PLANE operations: creating/managing Playwright Testing workspaces, checking name availability, and managing workspace quotas via Azure Resource Manager. NOT for running Playwright tests - use Azure.Developer.MicrosoftPlaywrightTesting.NUnit for that. Triggers: "Playwright workspace", "create Playwright Testing workspace", "manage Playwright resources", "ARM Playwright", "PlaywrightWorkspaceResource", "provision Playwright Testing".

azure-resource-manager-cosmosdb-dotnet

242
from aiskillstore/marketplace

Azure Resource Manager SDK for Cosmos DB in .NET. Use for MANAGEMENT PLANE operations: creating/managing Cosmos DB accounts, databases, containers, throughput settings, and RBAC via Azure Resource Manager. NOT for data plane operations (CRUD on documents) - use Microsoft.Azure.Cosmos for that. Triggers: "Cosmos DB account", "create Cosmos account", "manage Cosmos resources", "ARM Cosmos", "CosmosDBAccountResource", "provision Cosmos DB".