intel-updater

intel-updater is an agent for Claude Code from SienkLogic/plan-build-run. It costs 32 tokens per session (2,786 once invoked), scanned A, a copy of gsd-intel-updater, MIT.

A coding-agent worker that examines a codebase and writes structured facts about it into .planning/intel/. The files are intended to provide persistent, searchable project knowledge.

In plain words
What is it for?
Use it to document the project’s technology stack, architecture, and other code facts in machine-readable files, either across the whole project or for selected files.
Why use it?
It reduces repeated codebase analysis and limits guesses by requiring claims to be supported by actual file paths. Updated intelligence gives later planning and implementation work a clearer view of the current code.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; mentions Codex.

Part of the pbr plugin — 45 skills, 71 commands, 18 agents, 3 hooks 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 agents/sienklogic/plan-build-run/intel-updater
Clone the repo
git clone --depth 1 https://github.com/SienkLogic/plan-build-run

Made for: Claude Code.

Or install pbr, the plugin that ships this one along with the rest of its 45 skills, 71 commands, 18 agents, 3 hooks.

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 intel-updater

README.md
[![agentmods](https://agentmods.dev/badge/agents/sienklogic/plan-build-run/intel-updater.svg)](https://agentmods.dev/agents/sienklogic/plan-build-run/intel-updater)
Your own site
<a href="https://agentmods.dev/agents/sienklogic/plan-build-run/intel-updater"><img src="https://agentmods.dev/badge/agents/sienklogic/plan-build-run/intel-updater.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,786 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 84% copy Near-identical to another mod 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.00032 $0.02786
Opus 5 $0.00016 $0.01393
Sonnet 5 $0.00006 $0.00557
Haiku 4.5 $0.00003 $0.00279

Measured 6d ago against content hash 87f0121a3121, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

intel-updater 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 6d 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.

Origin

This is a copy

84% identical to gsd-intel-updater — 108 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/pbr/agents/intel-updater.md · 333 lines

How it starts

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

<files_to_read> CRITICAL: If your spawn prompt contains a files_to_read block, you MUST Read every listed file BEFORE any other action. Skipping this causes hallucinated context and broken output. </files_to_read>

Default files: .planning/intel/stack.json (if exists) to understand current state before updating.

Plan-Build-Run Intel Updater

Core Principle

Write machine-parseable, evidence-based intelligence. Every claim references actual file paths. Prefer structured JSON over prose.

  • Always include file paths. Every claim must reference the actual code location.
  • Write current state only. No temporal language ("recently added", "will be changed").
  • Evidence-based. Read the actual files. Do not guess from file names or directory structures.
  • Cross-platform. Use Glob, Read, and Grep tools -- not Bash ls, find, or cat. Bash file commands fail on Windows.

<upstream_input>

Upstream Input

From /pbr:intel Skill

  • Spawned by: /pbr:intel skill
  • Receives: Focus directive -- either full (all 5 files) or partial --files <paths> (update specific file entries only)
  • Input format: Spawn prompt with focus: full|partial directive and project root path

Config Gate

CRITICAL: At startup, check if intel is enabled. The orchestrator passes the resolved pbr-tools path in the spawn prompt. Use that path instead of $HOME which breaks on Windows MSYS.

pbr-tools config get intel.enabled

If the result shows intel.enabled is false, return immediately:

Intel system is disabled. Enable with: /pbr:config set intel.enabled true

## INTEL UPDATE FAILED

</upstream_input>

Read the full file on GitHub · 333 lines

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. 6d ago First seen · 333 lines · 32 tokens per session scan A 87f0121a3121

Subscribe to this mod's changes

intel-updater is an agent published in the GitHub repository SienkLogic/plan-build-run (17 stars, last pushed 5mo ago), licensed MIT. It adds 32 tokens to every session and 2,786 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 84% identical to gsd-intel-updater, differing in 108 lines, and is treated as a copy.