plastic-intent-ending

plastic-intent-ending is a skill for Claude Code, Codex from zalom/plastic. It costs 50 tokens per session (2,231 once invoked), scanned A, original, MIT.

A procedure for closing a Plastic intent, the tracked unit of work, as delivered or abandoned.

In plain words
What is it for?
Use it when work is complete, abandoned, or ready to wrap up, including recording the outcome, moving the intent to its final index section, and releasing its working resources.
Why use it?
It ensures the result, status, savepoint, commit, worktree, lock, and final reporting are handled together during a terminal transition.

Skill for Claude CodeCodex

Part of the plastic plugin — 43 skills, 10 agents, 5 hooks, 1 MCP server shipped together

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.

agentmods
npx agentmods add skills/zalom/plastic/intent-ending
Any agent
npx skills add zalom/plastic --skill intent-ending
Clone the repo
git clone --depth 1 https://github.com/zalom/plastic

Made for: Claude Code, Codex.

Or install plastic, the plugin that ships this one along with the rest of its 43 skills, 10 agents, 5 hooks, 1 MCP server.

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 plastic-intent-ending

README.md
[![agentmods](https://agentmods.dev/badge/skills/zalom/plastic/intent-ending.svg)](https://agentmods.dev/skills/zalom/plastic/intent-ending)
Your own site
<a href="https://agentmods.dev/skills/zalom/plastic/intent-ending"><img src="https://agentmods.dev/badge/skills/zalom/plastic/intent-ending.svg" alt="Measured on agentmods" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,231 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00050 $0.02231
Opus 5 $0.00025 $0.01115
Sonnet 5 $0.00010 $0.00446
Haiku 4.5 $0.00005 $0.00223

Measured 4d ago against content hash a5db6662f613, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

plastic-intent-ending 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 4d 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.

skills/intent-ending/SKILL.md · 180 lines

How it starts

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

Intent Ending

The one procedure every terminal transition routes through. Auto mode, the curator path, and releasing all call this skill (or its backing script, scripts/end-intent) for the mechanical close instead of restating the same prose three times. abandoned is the SAME procedure as delivered, not a failure branch: only outcome.md content and the INDEX section differ.

Read ../plastic-conventions/references/completion-and-done.md for what "intent done" means and the End-stage tail behind the steps below. This path resolves relative to this skill's own installed directory.

The 8 steps (0-7)

# Step Who does it
0 Precondition check You, before touching outcome.md
1 outcome.md + intent-file ## Outcome summary scripts/end-intent
2 INDEX.md terminal move (Active -> Completed/Abandoned) scripts/end-intent
3 savepoint Done bookend scripts/end-intent
4 store auto-commit scripts/end-intent
5 disarm (worktree + lock) scripts/end-intent (intent 188)
6 QMD reindex, async, LAST You
7 EM-to-CTO report You

Steps 1-5 are ONE callable script call, not several separate one-liners: this is exactly what the failure mode this intent fixes looked like (releasing hand authored the close in prose and dropped the savepoint bookend for two real deliveries; separately, one session delivered four intents back to back and never ran the old step-5 one-liner at all, intent 188). Never restate outcome/INDEX/savepoint/disarm prose inline again; call scripts/end-intent.

Step 0. Precondition (the gate is section-blind, not selective)

Bridge.check_gate (scripts/lib/bridge.rb) is LIVE code already wired into the write-time hook. Its outcome.md rule is a blind scan of the WHOLE checklist.md: content.scan(/^- \[ \]/) counts every unchecked box, in every section, with no awareness of which section a box lives in. ANY unchecked box anywhere blocks the outcome.md write; there is no exemption for orchestrator-owned or completion-tracking items.

Read the full file on GitHub · 180 lines

Files

What ships with it

1 file 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. 4d ago First seen · 180 lines · 50 tokens per session scan A a5db6662f613

Subscribe to this mod's changes

plastic-intent-ending is a skill published in the GitHub repository zalom/plastic (10 stars, last pushed 2d ago), licensed MIT. It adds 50 tokens to every session and 2,231 once invoked, about $0.0003 per session on Opus 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-08-31.

Related

Other skills, from other repositories

autoprompt

Explicit-only useful-first orchestration. Invoke only when the user names autoprompt - typed as /autoprompt or in plain language such as "act in autoprompt mode" - to turn a mission into one executable roadmap, build dependency-safe lanes, and verify the result with independent reviewers. Do not infer invocation from…

Spielewoy/autoprompt-skill · 85 tokens

autoprompt

Explicit-only useful-first orchestration. Invoke /autoprompt to turn a mission into one executable roadmap, build dependency-safe lanes, and verify the result with independent reviewers. Never infer invocation from ordinary requests. Never resume from leftover artifacts without an explicit resume instruction.

Spielewoy/autoprompt-skill · 56 tokens

autoprompt

Explicit-only useful-first orchestration. Invoke /autoprompt to turn a mission into one executable roadmap, build dependency-safe lanes, and verify the result with independent reviewers. Never infer invocation from ordinary requests. Never resume from leftover artifacts without an explicit resume instruction.

Spielewoy/autoprompt-skill · 56 tokens

agent-spec-tool-first

CRITICAL: Use for agent-spec CLI tool workflow. Triggers on: agent-spec, contract, lifecycle, guard, verify, explain, stamp, checkpoint, plan, requirements, work-units, knowledge requirements, KLL, docs vs knowledge, spec verification, task contract, spec quality, lint spec, run log, "how to verify", "how to use…

ZhangHanDong/agent-spec · 165 tokens

agent-spec-authoring

CRITICAL: Use for writing and editing agent-spec .spec/.spec.md files. Triggers on: write spec, create spec, edit spec, new spec, spec authoring, task contract, .spec file, .spec.md file, BDD scenario, acceptance criteria, completion criteria, test selector, boundary, constraint, intent, decision, out of scope, "how…

ZhangHanDong/agent-spec · 172 tokens

agent-spec-intent-compiler

Use when converting PRD or issue prose into KLL requirements, running the intent compiler plan, or reverse-interviewing a human to resolve requirement ambiguity before task spec generation.

ZhangHanDong/agent-spec · 42 tokens