plan-ai-integration

plan-ai-integration is a skill for Claude Code from easyinplay/harnessed. It costs 26 tokens per session (997 once invoked), scanned A, original, Apache-2.0.

A conditional workflow for planning projects that build an AI system. It runs a required AI integration plan, starts a separate helper agent, and completes a checkpoint with verifiable output.

In plain words
What is it for?
Use it before the planning phase for an AI feature or system, when the project’s phase settings require this integration contract.
Why use it?
It prevents AI-related planning from skipping the project engine’s registration, evidence, and approval steps. It runs only when the project is marked as building an AI system.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions subagents.

Good fit Use it before the planning phase for an AI feature or system, when the project’s phase settings require this integration contract.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/easyinplay/harnessed/ai-integration
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add easyinplay/harnessed --skill ai-integration
Clone the repo
git clone --depth 1 https://github.com/easyinplay/harnessed

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for plan-ai-integration

README.md
[![agentmods](https://agentmods.dev/badge/skills/easyinplay/harnessed/ai-integration/github.svg)](https://agentmods.dev/skills/easyinplay/harnessed/ai-integration)
Your own site
<a href="https://agentmods.dev/skills/easyinplay/harnessed/ai-integration"><img src="https://agentmods.dev/badge/skills/easyinplay/harnessed/ai-integration/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for plan-ai-integration

Your own site · 80×15
<a href="https://agentmods.dev/skills/easyinplay/harnessed/ai-integration"><img src="https://agentmods.dev/badge/skills/easyinplay/harnessed/ai-integration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 997 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00026 $0.00997
Opus 5.5 $0.00010 $0.00399
Sonnet 5.5 $0.00005 $0.00199
Haiku 4.5 $0.00003 $0.00100

Measured 25d ago against content hash c17a6ec1eaf1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

plan-ai-integration scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 25d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

workflows/plan/ai-integration/SKILL.md · 40 lines

How it starts

The opening of the file, as written. The whole thing — 40 lines — stays where its author put it; the contents beside it link to each section on GitHub.

plan-ai-integration workflow

Overview

Run harnessed prompt plan-ai-integration --task "$ARGUMENTS" --json, execute /gsd-ai-integration-phase, then complete the registered checkpoint with verifiable output.

Invocation

Fires only when phase.builds_ai_system == true.

How to invoke

!harnessed checkpoint intent plan-ai-integration

The banner above (when present) means this invocation is REGISTERED with the engine (an intent marker) — not yet compliant: the steps below (prompt → spawn → checkpoint complete) resolve it, and a per-turn <workflow-intent> reminder persists until they run.

The numbered sequence below is the state machine — execute it with Bash. Do NOT improvise an equivalent flow from the Overview above: freelancing bypasses the engine (no ledger, no evidence guard). harnessed gives you the spawn-ready prompt; YOU spawn the subagent with a {{ host.native }} {{ host.spawn_subagent }} (keeps the session responsive + lets clarification round-trips reach the user).

Do NOT pipe to harnessed run plan-ai-integration — that is the CI/headless path ({{ host.harnessed_run_warning_note.execution_tail }}

  1. Bash: harnessed prompt plan-ai-integration --task "$ARGUMENTS" --json → parse {prompt, max_iterations, model, result_file}.
  2. Spawn a {{ host.native }} subagent ({{ host.spawn_subagent }}) with that prompt and model. The sub writes its own final result into result_file — the path that prompt names — so the FILE is the completion signal: do NOT wait for the sub's chat message, because a background or re-parented agent's message may never arrive. Then drive delivery with harnessed's own completion gate:
    • the gate is harnessed checkpoint complete plan-ai-integration --result-file <result_file> --wait 60 — one call waits at most 60 seconds, so run the SAME command again when the sub needs longer; it is fail-closed on the declared artifacts, the TDD boundary, and the verbatim <promise>COMPLETE</promise>.
    • if it blocks, run harnessed checkpoint fail plan-ai-integration --failing-tests <n> to record the attempt; it prints BUDGET-EXHAUSTED / NO-PROGRESS / BREAK-LOOP when a stop condition is reached.
    • respawn ONLY while none of those three has fired. Any one of them means stop: re-scope the subtask, fix the blocker, or escalate to the user. Never respawn past a stop directive.
  3. If the sub’s output contains STATUS: NEEDS_CLARIFICATION + a question list (read it from result_file — the chat message may never arrive): STOP, relay them verbatim via {{ host.ask_user }}, append the answers to the spec, then re-spawn the same sub.
  4. When result_file carries the completion marker: Bash harnessed checkpoint complete plan-ai-integration --result-file <result_file> --wait 60 --summary "<one-line>". Fail-CLOSED — it blocks unless every declared artifacts_expected file exists, the TDD boundary passes (non-empty evidence / both the red and green sides present / the test file was not deleted), and the result file carries a verbatim <promise>COMPLETE</promise> (or a structured COMPLETE status). --wait 60 bounds ONE call to 60 seconds — run the SAME command again when the sub needs longer, never an unbounded wait. --result <text> is the inline variant; --result-file wins and is quoting-safe on Windows. A result-wait-timeout exit means the sub has not signalled YET — repeat the same command; --force records an audited override (evidence_status=overridden) — it does not silently pass.
  5. If the complete gate blocked: Bash harnessed checkpoint fail plan-ai-integration --failing-tests <n> to record the attempt. It prints BUDGET-EXHAUSTED / NO-PROGRESS / BREAK-LOOP once a stop condition is reached. Respawn ONLY while none of those three has fired; any one of them means STOP — re-scope the subtask, fix the blocker, or escalate to the user.

Read the full file on GitHub · 40 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 25d ago Changed c17a6ec1eaf1
  2. 29d ago Changed · +4 tokens per session 50d990ab2d31
  3. 1mo ago First seen · 40 lines · 22 tokens per session scan A 3519ddabfb2d

Subscribe to this mod's changes

plan-ai-integration is a skill published in the GitHub repository easyinplay/harnessed (2 stars, last pushed 25d ago), licensed Apache-2.0. It adds 26 tokens to every session and 997 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-31.

Related

plan-ai-integration compared with skills from other repositories

plan-ai-integration next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
plan-ai-integrationeasyinplay/harnessedSkill225d agoApache-2.0A26Claude Code
octowizraelli/octowizSkill24mo agoMITB139Claude Code
forgezjio26/forgeSkill116mo agoMITB25Claude Code
setupraelli/octowizSkill24mo agoMITB57Claude Code
sxonowork-studio/notfair-pluginSkill4.4k3d agoMITA211Claude Code
meta-tags-optimizernowork-studio/notfair-pluginSkill4.4k3d agoMITA91Claude Code
chief-strategy-officercbrock84/headcountSkill2.6k3d agoMITA93Claude Code