Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Agent Graph

ASecurity

Run durable task graphs when independent work needs ownership, integration checks and recovery. Use for graph execution, not routine edits.

3 stars
0 votes
0 copies
0 views
Added 9/22/2026
ai-agentspythonapisecurity

Works with

terminalapi

Security Analysis

A100/100

Scanned 9/22/2026

Install to Claude Code

$npx -y skills add badmuriss/my-llm-kit --skill agent-graph --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agent Graph?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Agent Graph
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/badmuriss-agent-graph/badge)](https://www.skillsdirectory.com/skills/badmuriss-agent-graph)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: agent-graph
description: Run durable task graphs when independent work needs ownership, integration checks and recovery. Use for graph execution, not routine edits.
---

# Agent Graph

Use the durable graph only when the decision proves independent packets, bounded
ownership, checks, integration, budget and cleanup. Ordinary planning and
implementation do not require this runtime.

Resolve this installed skill directory and invoke its `scripts/agent_graph.py`
with `--repo <absolute-project-path>`, using `python3` or Windows `py -3`. The
Python environment needs `jsonschema`; see `requirements.txt`.

## Adaptive entry

`agent_graph.py intake` returns `direct`, `verified_single`, `light_spec`, or
`graph`. It reads bounded repository facts before asking a question. It creates
no run or worker.

- Direct and verified-single work need no OpenSpec, graph, Canvas, or Orca process.
- Light spec uses one amendable Markdown decision record. OpenSpec remains optional.
- Graph mode alone creates the durable journal and coordinator claim.

Persist a graph selection as
`openspec/changes/<slug>/process-decision.json`. Bootstrap validates that its
current decision revision, packet paths, checks, permission, budget, integrator,
and cleanup plan match the OpenSpec task graph before creating run artifacts.

Choose the mode from task evidence. Resolve Host, Orca, or future adapter
capabilities only after selection. Never use a provider, model, Canvas, or
worker count as a mode signal. `grill-me` remains explicit and opt-in.

## Core contract

Treat `events.jsonl` as canonical. Rebuild `state.json` from its events. Only the current coordinator generation may append an event.

Parse each task's `Depends`, `Paths`, `Mode`, `Isolation`, `Acceptance`, and single `Check` field. Reject unsafe paths and invalid dependency graphs before dispatch.

Schedule a task only when every dependency has grade `pass`. Serialize write tasks whose file or directory prefixes overlap. A worker report changes an attempt to `reported`; it never grades the task.

## Artifact budget

Workers default to `minimal-by-default-v1`: create no new test suite or supplemental Markdown. Reuse or extend an existing artifact first. Add at most one focused regression test per reproducible defect, and only when the acceptance, a security or data-integrity invariant, or a public contract requires it. Do not add tests for constants, trivial passthroughs, type guarantees, implementation details, or behavior explicitly removed from scope. Do not create status logs, duplicate plans, or narrative check reports; receipts and `WorkerResult` are the evidence trail. Run the task's declared `Check` first and widen validation only for broad or high-risk changes. Host capsules and Orca task specs carry this policy to the worker.

Use `rule-curator` as an occasional maintenance pass over the standing rule
corpus, not as a worker role or a per-task artifact. Use it when a whole-corpus audit is requested, consolidate only evidence-backed
duplicates, and leave
project-specific rules in their canonical skill or `AGENTS.md` source.

## Safety rules

- Give workers one task capsule, not the full planning transcript.
- Keep workers from writing the journal.
- Validate every worker result against its task and attempt.
- Run checks and assign grades in the coordinator.
- Archive and remove only a partial final journal line. Treat all earlier corruption as fatal.
- Register every owned terminal, Codex process tree, PTY root, browser surface,
  and temporary artifact before side effects. Terminal, Codex-tree, and PTY-root
  registrations must exist before delivering the capsule; retain their receipts.
- Reserve driver selection and attempts before provider mutation. On resume, use `recover-driver-selection` or `recover-attempt` with the same provider retry identity. Use `abandon-attempt` only when driver reconciliation and release prove cleanup.
- Retry pending driver-owned release with `sync` or `recover-cleanup`; never mark terminal cleanup done from an unverified caller claim.
- Never treat provider completion as evidence of `pass`.

See [the task graph reference](references/task-graph.md) for the data model and scheduler rules.

## Portable boundary

The core owns `ProcessDecision`, `CapabilityReceipt`, `AgentGraphView`, generic
delegation, checks, evidence grades, and cleanup semantics. It never requires a
Maestro mutation, Canvas layout, provider terminal handle, or Orca identity.

Host is the baseline adapter and works without an Orca process. Orca is the
current rich adapter. Its bridge owns Maestro mutations, document layout,
supervised worker and terminal receipts, browser surfaces, and worktree UI.
Future adapters declare the same portable capabilities and explicit
degradations. An unavailable rich feature blocks or downgrades only the
operation that requested it.

For Jev browser execution and the optional advisory worker evaluator,
read [Jev integration](references/jev-integration.md) when those capabilities are needed.

## Harness boundary

`impl` freezes one control runtime and claims the coordinator capsule. Use the
current session when it can own integration and retain the needed context; use a
new visible session when the task or host requires that handoff. Coordinator
identity and generation remain mandatory in either case. Read
[graph execution](../impl/references/graph-execution.md) for the lifecycle.

The coordinator derives only the smallest useful non-conflicting wave. It may
delegate dynamically, but children inherit or narrow paths, context, and
capabilities, cannot grade parents, recursively launch workers, or append the
journal. Bound overlapping heavy work by observed host capacity. Orca and the native Host path
share these semantics; Orca-specific APIs and the optional Linux resource guard
are never required for normal operation.

Canvas changes, checkboxes, provider completion, and process exit are receipts or
inputs, not evidence grades. Only the active coordinator grades after an exact
attempt-bound check and independently verified or explicitly retained cleanup.

Shadow learning runs only after completion through
`skills/impl/scripts/learning.py`. It preserves provider usage, cache, and
resolved profile fields only when receipts expose them. Missing telemetry is
`unavailable`, never zero or estimated, and no learning artifact changes the
current run or promotes policy automatically.

Attribution

badmurissbadmuriss
View sourceMore from badmuriss →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Ultra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".

1066601 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

686011 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3351 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

651 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →