ワンクリックで
session-planning
Mandatory planning workflow for all AI agents — decompose tasks before execution
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Mandatory planning workflow for all AI agents — decompose tasks before execution
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Onboard a new client/company onto this platform's real Agentic OS: create the company record, scan its websites/repos, auto-provision specialist agents, activate its 24x7 agency runtime, and know exactly which "OS" building blocks (memory, integrations, dashboard) already exist versus which are roadmap gaps. ADAPTED FROM: a third-party giveaway skill ("agentic-os-installer" by Gennaro Santoro / Operations Heroes) that described a generic vault + Google-suite + skill-pack installer. That skill's product (Obsidian vault, Gmail/Calendar/ Drive wiring, "skill packs") does not exist in this repo and its promotional content (Skool community link) does not belong here. This is a clean-room rewrite that keeps the useful idea — "stand up a working agency OS for a client from a short checklist" — and maps every step to the real module that already implements it in this codebase, per CLAUDE.md architecture rules.
Agile sprint planning, velocity tracking, and burndown metrics for agent-managed projects
Initiative-level portfolio management with dependency tracking and milestone coordination
AI-assisted engineering impact analysis — productivity metrics and code quality insights
Cross-harness agent patterns — standardize agent execution across different coding assistants
Temporal context graph for agent memory — track entity relationships and state changes over time
| name | session-planning |
| description | Mandatory planning workflow for all AI agents — decompose tasks before execution |
When to use: At the start of EVERY non-trivial agentic session, before writing any code. This skill is universal — it works with Claude Code, Codex, Cursor, Aider, and any other AI tool that reads AGENTS.md or CLAUDE.md.
Run these steps in order. Do not skip steps 6 (draft PR) or 7 (user confirmation).
cat AGENTS.md # cross-tool ground truth
cat CLAUDE.md # project-specific rules
cat graphify-out/GRAPH_REPORT.md # codebase map (no token cost)
cat .claude/state/active-tasks.md # what's already in flight
cat docs/changelog.md | head -40 # what recently changed
.claude/state/NEXT_ACTION.md and active-tasks.mdls .claude/skills/ # see all available skills
# Load skills matching the task type:
# Multi-file change → implementation-planner
# Tests needed → test-first-executor
# Auth/key/agent-tools → risky-module-review
# Pre-merge review → council-review
# Adding deps → dependency-audit
# Codebase exploration → graphify
# Cross-harness routing → ecc-harness-patterns
Use the implementation-planner skill or write directly:
## Plan: <task name>
**Goal:** one sentence
**Files to change:**
- `path/to/file.py` — what changes and why
- `path/to/other.py` — what changes and why
**Steps:**
1. Write tests first (test-first-executor)
2. Implement step A
3. Implement step B
4. Run pytest -x
5. Update changelog
6. Update active-tasks.md
**Risks:** list risky modules requiring risky-module-review
**Acceptance criteria:** how to verify it works
Add rows to .claude/state/active-tasks.md:
| N | <task description> | `TODO` | — | <brief note> | <date> |
git checkout -b <descriptive-branch-name>
# Create PR immediately as DRAFT with the plan as description
# PR body = Step 5 plan + TODO checklist
# Title format: "feat/fix/docs(<scope>): <what it does>"
PR body must include:
## TODO checklist that matches active-tasks.md rows## Test plan sectionSTOP. Do not write any code until the user confirms.
Say exactly:
"Here's the plan: [summary]. I've created draft PR #N with the full details. Shall I proceed with implementation? (yes/no, or let me know what to change)"
active-tasks.md status as you go:
IN_PROGRESSBUG_FOUND (add to Bug Log)BUG_FIXEDDONEpytest -x before every commitIN_PROGRESS tasks to DONE in active-tasks.mddocs/changelog.md.claude/state/NEXT_ACTION.md if work continues next sessionThe tracker at .claude/state/active-tasks.md is the living record. Update it continuously:
# Pattern for updating status (Python pseudo-code):
# 1. Read the file
# 2. Find the row by task number
# 3. Update Status column
# 4. Update Notes column with brief outcome
# 5. Update Updated column with today's date
Always log bugs:
## Bug Log
| # | Bug Description | Found | Fixed | PR | Status |
|---|----------------|-------|-------|----|--------|
| N | <description> | <date> | <date or —> | <PR or —> | BUG_FOUND / BUG_FIXED |
This workflow is designed to work with any AI coding tool:
| Tool | How it reads this workflow |
|---|---|
| Claude Code | CLAUDE.md + this skill via /session-planning |
| Codex / OpenCode | AGENTS.md mandatory workflow section |
| Cursor | AGENTS.md (Cursor reads project-level AGENTS.md) |
| Aider | AGENTS.md via --read AGENTS.md or auto-detection |
| GitHub Actions (AI) | AGENTS.md + .github/workflows/ context |
| Any other agent | AGENTS.md is the universal contract |
READ → AGENTS.md + CLAUDE.md + GRAPH_REPORT.md + active-tasks.md
SKILLS → load relevant skills for this task type
PLAN → write implementation plan (files, steps, risks, acceptance)
TRACK → add tasks to active-tasks.md as TODO
PR → create DRAFT PR with plan as body + TODO checklist
CONFIRM → ask user before writing any code
EXECUTE → implement step by step, updating tracker status live
BUGS → log BUG_FOUND immediately, BUG_FIXED when resolved
DONE → update active-tasks.md + changelog + NEXT_ACTION.md