Revision history for briefing
0.007000 2026-11-25 03:18:41Z
- Farewell version: Claude Code preloads agent skills natively through a
top-level `skills:` list in an agent's frontmatter, so briefing has no job
left.
- CPAN: App::Briefing, App::Briefing::CLI, App::Briefing::Filesystem and
App::Briefing::Team are stubs whose documentation names the replacement.
`App::Briefing::CLI->run` prints that notice, so a `briefing` command
left over from 0.006000 says it too. The distribution ships no program
and needs no modules beyond core Perl.
- Plugin: a single `SessionStart` hook prints a notice naming the switch
and `/plugin uninstall briefing`. The `SubagentStart` and `PreToolUse`
hooks, the Codex plugin, the launchers, binaries, doctor and the
`briefing:briefing` skill are removed.
0.006000 2026-11-21 00:50:19Z
- First CPAN release: the reusable `App::Briefing` Perl library and the
`briefing` command (`script/briefing`) with the hook, doctor and
marketplace notice. CPAN installs only `briefing`, none of the plugin's
`bin/` files.
- Claude Code: skills arrive through `SubagentStart` `additionalContext`
instead of a rewritten agent prompt, so briefing works with
`--permission-mode auto`. Auto mode refused any `Agent` call whose input a
hook changed after its review ("a hook changed this call's input after auto
mode reviewed it"). The `PreToolUse` hook on `Agent` stays as a guard only:
it denies a spawn that declares an unknown skill and otherwise says nothing.
Verified on Claude Code 2.1.318, which fires `SubagentStart` with the
agent's name as `agent_type` and hands `additionalContext` to the subagent.
Older Claude Code versions without that start the agent unbriefed.
- Claude Code: if a declared skill disappears between the guard and the
spawn, the agent is told to stop and report, as under Codex.
- Claude Code: the audit line now comes from `SubagentStart`; 2.1.318 does
not show it in `claude -p` output.
- The Claude Code plugin takes its version from the commit, so every push to
main reaches marketplace users with auto-update.
- An agent file saved with a UTF-8 byte order mark is read like one without:
the mark no longer hides the opening `---`, so the spawn is briefed again.
- `briefing doctor --tsv` prints the findings as tab-separated lines (WHAT,
`ok`, `missing` or `warn`, NAME, TEXT) for tools, and `briefing hook EVENT`
names the hook event on the command line instead of reading it from the
payload.
- The plugin's briefing hooks (`PreToolUse` on `Agent`, `SubagentStart` and
`SessionStart`) run through its starter `bin/briefing hook EVENT`
(`bin/briefing.exe` on Windows, which runs the plugin's own
`bin/briefing-bootstrap.exe`); the marketplace notice runs through
`bin/briefing hook marketplace-notice` too. Codex reads its own `hooks/codex-hooks.json` and asks to trust the
hooks once more. Once binaries are pinned, SessionStart may take up to 90
seconds to fetch one.
- The GitHub release carries prebuilt `briefing` binaries for Linux
x86_64/arm64, macOS x86_64/arm64 and Windows x86_64, plus `SHA256SUMS`.
The plugin starts using them only from a later plugin update that pins
their checksums (`bin/briefing-binaries.sha256`); until then the hooks run
the Python hook as before.
- Faster start-up: `TOML::Tiny::Parser` is compiled on the first Codex TOML
agent parse, not when `App::Briefing` loads, so Claude Code hooks and the
prebuilt binaries skip about 170 ms of compile time per call (k6).
- Windows without a pinned binary: the bootstrap starts the first Python it
finds (`python3`, `python`, then `py -3`; the Microsoft Store stub is
skipped), in UTF-8 mode.
- Windows: pass a working directory with characters outside the ANSI code
page by changing into it, not through `briefing doctor --cwd`; Perl
receives command-line arguments in the ANSI code page there. Hook payloads
are UTF-8 and not affected.
- Windows: the Perl command, and once a version pins binaries the binary,
cannot use a home or another environment path (HOME, USERPROFILE,
HOMEDRIVE/HOMEPATH, CODEX_HOME, CLAUDE_PLUGIN_ROOT, PWD) with characters
outside the ANSI code page: the Perl process already holds them as "?".
User-level skills under such a home are not found and the marketplace
notice cannot record that it was shown. The Python hooks are not affected.
Characters of the ANSI code page arrive as characters, read through the
wide environment (Win32 is a Windows prerequisite) (k14).
- Windows binary cache: the pinned binary now lives in
`<config>/briefing/bin/<version>/<first 16 hex of the pin>/briefing[.exe]`
with PAR's `par/` directory beside it, so PAR's loader gets the plain long
path for ordinary ASCII profiles instead of depending on 8.3 short names
(the short alias stays the path for non-ANSI profiles). The full hash stays
in the pin file and the binary is rehashed before every run; the PAR tree
reserve grew from 64 to 128 characters (k18).
- The SessionStart marketplace notice no longer needs Python once the binary
is active: `briefing hook marketplace-notice` (`briefing notice` stays)
prints it, and both stay silent with exit 0 on any error. The starter and
the Windows bootstrap run the verified cached binary, else the Python notice
script, else stay silent; they never fetch a binary for it. The notice's
`hooks/briefing-marketplace-notice.exe` launcher is gone (k20).
- Documentation: the README and the POD of `App::Briefing`, its CLI,
filesystem and team modules and of `briefing` now start from what the
product does; the distribution abstract reads "Preload declared skills
into Claude Code and Codex subagents at spawn time" (k23).
0.5.3 2026-10-06 05:22:17Z
- Windows: briefing runs without Git Bash. Each hook script has a small
`<name>.exe` next to it, which Claude Code starts on Windows and which runs
the script with the first working Python (`python3`, `python`, `py -3`;
the Microsoft Store stub is skipped), in UTF-8 mode. Linux and macOS start
the scripts as before.
- Windows: skills from plugins resolve. The check that a skill lies inside its
plugin compared paths with `/` and never matched there.
- `briefing-doctor` is a small script instead of a symlink, so it exists in a
Windows checkout and runs from PowerShell and cmd too.
- With `HOME` unset, briefing uses the platform's home directory instead of
none.
- `hooks.json` gained `"args": []` on every entry, so Codex asks to trust the
hooks once more.
0.5.2 2026-09-27 23:35:41Z
- A `plugin:skill` — and a bare name that falls through to a plugin — resolves
only from a plugin Claude Code actually loads: one turned on in
`enabledPlugins`. An installed marketplace plugin is off until a settings
file enables it, so briefing could previously brief a skill from a disabled
plugin — context Claude Code itself would never load, the exact divergence
this plugin exists to prevent. Resolution is now gated on the merged
`enabledPlugins` map (user, then project, then project-local; higher wins per
key). `--settings` and managed settings are beyond a hook's reach and read as
absent.
0.5.1 2026-09-27 23:07:12Z
- `plugin:skill` resolves under Claude Code. The hook globbed
`plugins/cache/<plugin>/skills/` and `cache/*/<plugin>/skills/`, but Claude
Code installs to `cache/<marketplace>/<plugin>/<version>/`, so every
namespaced skill — and every bare name meant to come from a plugin — was
denied as unknown. Plugins are now found through `installed_plugins.json`,
which names the live version (the cache keeps stale ones, and some versions
are commit hashes) and scopes project installs to their project. Within a
plugin, briefing loads what Claude Code loads: `skills/<name>/` plus the
paths the manifest lists under `skills`, which is how mattpocock-skills
exposes `skills/engineering/domain-modeling/`. The namespace is the
manifest's `name`.
0.5.0 2026-09-24 18:43:51Z
- Each `<skill>` element carries the skill's absolute directory:
`<skill name="foo" dir="/abs/path/skills/foo">`. Only `SKILL.md` is inlined,
so a relative `references/api.md` had nothing to resolve against — under
Claude Code a briefed agent searched the whole filesystem for it. The header
now tells the agent to read references from `dir` when it needs them; they
are still not inlined. Codex already lists every skill's path, so there it
matters only for skills hidden from that agent.
0.4.1 2026-09-24 02:14:30Z
- The `SessionStart` pre-flight reports only what would fail at spawn time.
0.4.0 also listed oversized briefings under "declared skills that will not
work" — they do work, so every session start in such a project carried a
false alarm. Size stays a `WARN` in `briefing-doctor` and a line in the
spawn's own audit message.
0.4.0 2026-09-24 01:39:16Z
- Broken declarations surface before anything spawns, and every briefing
leaves a trace.
- `briefing-doctor` checks every briefing-aware agent of a project, in both
harnesses: which skills it declares, how large the briefing is, and what
would fail — an unknown skill, or a Codex agent still carrying a
`[briefing]` table. Exits 1 on a failure, so it can guard CI. It is a
symlink to the hook in `bin/`, which Claude Code puts on `PATH`; under Codex
run `hooks/briefing-preload doctor`.
- `SessionStart` pre-flight: the same checks run when a session starts or
resumes, for the harness that started it, and a `systemMessage` names every
declaration that would fail. Healthy projects hear nothing.
- Every successful briefing reports itself in one `systemMessage` line —
`briefing: agent ← a, b (N kB)` — so you can see what an agent was given.
- Skills are injected as `<skill name="...">…</skill>` elements instead of
`## Skill:` headings, so their boundaries are unambiguous.
- Claude Code agents are found by their frontmatter `name`, including in
subdirectories of `.claude/agents/` — the same fix 0.3.1 made for Codex. A
file named after the agent that declares a different `name` is not it.
- 20 new unit tests. Verified live in both harnesses — Codex 0.153.4 and
Claude Code: briefed agents answered from skill content inside `<skill>`
elements, controls did not, and the audit line and the pre-flight warning
reached the harness as system messages. (`codex exec` does not print those;
the Codex TUI does.)
0.3.1 2026-09-23 18:08:28Z
- Codex agents declare their skills in a comment now, because Codex 0.153 no
longer tolerates the table.
- Codex deserializes agent files strictly and drops the **whole agent** over a
key it does not know: ``Ignoring malformed agent role definition … unknown
field `briefing` ``. The `[briefing]` table introduced in 0.3.0 did exactly
that on Codex 0.153.4 — the agent silently vanished, and with it the briefing.
- The declaration is now a comment line, invisible to Codex and every other
TOML parser:
```toml
# briefing: skills = ["getty-perl-core", "superpowers:brainstorming"]
```
A matching line inside a multi-line string such as `developer_instructions`
is prose and is not read.
- A leftover `[briefing]` table is still honoured where an older Codex spawns
the agent at all, and the hook adds a `systemMessage` asking for the move to
the comment form. If both are present, the comment wins.
- Codex agents are found the way Codex finds them. The role name is the
`name` field, not the file name; every `*.toml` below `agents/` counts,
recursively; each directory from the project root down to cwd is a layer,
nearest first; roles declared as `[agents.<name>] config_file` in a layer's
`config.toml` win within that layer. Previously only
`<cwd>/.codex/agents/<name>.toml` and `~/.codex/agents/<name>.toml` were
tried, and anything else went unbriefed without a word.
- `CODEX_HOME` is honoured for agents, skills and the plugin cache.
- Codex skill roots now match Codex: `.codex/skills` and `.agents/skills` in
every directory up to the project root, `$CODEX_HOME/skills`,
`~/.agents/skills`, the bundled `$CODEX_HOME/skills/.system`, and
`/etc/codex/skills`. The unconditional `<cwd>/../.agents/skills` is gone —
Codex stops at the project root.
- A briefing over 64 kB of skill text still spawns, in both harnesses, but
carries a `systemMessage` saying how large it is.
- Skills stay leaves: a skill's own `briefing.skills` is never followed, now
pinned by a test.
- 24 new unit tests; suite green on Python 3.8, 3.10 and 3.13. Verified end to
end against Codex 0.153.4: the declaring agent answered with a passphrase that
existed only in the skill body, without a single tool call; the identical
agent without the comment answered `UNKNOWN`; a marker in the installed hook
recorded `SubagentStart` for both. The new agent lookup passed the same test
live: a renamed file in `agents/team/`, a spawn from a repo subdirectory, and
a `config_file` role were all briefed.
0.3.0 2026-08-18 01:35:56Z
- Codex support, from the same set of files.
- `SubagentStart` hook for Codex, inside the same `hooks/briefing-preload`
script: it branches on `hook_event_name`, so the Claude Code path is
untouched.
- Codex agents declare skills in a `[briefing]` table in
`.codex/agents/<name>.toml`. Codex's own `[[skills.config]]` is deliberately
*not* read — it means "visible to the agent", not "preloaded".
- Skills resolve against the roots Codex itself searches (`.agents/skills` in
project, parent and repo root, then `~/.agents/skills`, `~/.codex/skills`,
`/etc/codex/skills`). `plugin:skill` works there too — Codex uses the same
syntax, undocumented but observable.
- Injection goes through `additionalContext`, with `additionalContextLimit: 0`
in `hooks.json`. At the default threshold Codex replaces large skill bodies
with a preview and briefs nobody, silently.
- A `SubagentStart` hook cannot deny a spawn, so a missing skill yields an abort
instruction to the agent plus a `systemMessage` to the user — and none of the
skills that *did* resolve. No partial briefings.
- `.codex-plugin/plugin.json` points at the same `skills/` and `hooks/`
directories. Nothing is duplicated; one `hooks.json` serves both harnesses,
verified against Claude Code rather than assumed.
- TOML parsing uses `tomllib` where available and a regex fallback on Python
3.10, which CI still covers. A test forces the fallback path explicitly.
- 11 new unit tests for the Codex path, plus end-to-end verification against
Codex 0.147.0: a declaring agent answered from injected skill content, the
identical non-declaring agent did not, and a marker confirmed `SubagentStart`
reached the hook in both runs.
- What was meant to be 0.2.0 was never tagged and shipped here:
- `SessionStart` hook pointing at
[`Getty/marketplace`](https://github.com/Getty/marketplace), the shared
marketplace that now carries every Getty plugin. It reads the marketplace
name out of `CLAUDE_PLUGIN_ROOT`, so it stays silent for anyone already
installed from there, for `--plugin-dir`, and for local checkouts — and
shows at most once, recorded in `~/.claude/.briefing-marketplace-notice`.
- This repo's own marketplace stays in place and stays maintained. Both
install paths lead to the same plugin; nobody has to migrate.
- 8 unit tests for the notice hook, covering the silent cases, the
once-only behaviour, and an unwritable state directory.
0.1.0 2026-04-27 16:11:15Z
- Initial release. Tagged as
[`v0.1.0`](https://github.com/Getty/briefing/releases/tag/v0.1.0).
Install via `/plugin marketplace add Getty/briefing` and
`/plugin install briefing@briefing`.
- `PreToolUse` hook on the `Agent` tool, written in Python 3 (stdlib
only).
- Reads target subagent's frontmatter, parses a nested
`briefing.skills` list (block + flow forms). Everything
plugin-specific lives under a single `briefing:` block, so we
never collide with Claude Code's own frontmatter keys (the bare
top-level `skills:` is intentionally ignored — reserved for the
harness).
- Resolves bare and `plugin:skill` namespaced names against project
/ user / plugin-cache locations.
- Inlines each `SKILL.md` body into the agent's prompt before the
agent's first turn — no `Skill` tool round-trip required.
- Hard-fails (`permissionDecision: deny`) if any declared skill
cannot be resolved.
- 16 unit tests covering passthrough, frontmatter parsing,
resolution precedence, namespaced lookup, and hard-fail behavior.
- GitHub Actions CI on Python 3.10 / 3.11 / 3.12.
- One-repo marketplace via `.claude-plugin/marketplace.json`.
Keyboard Shortcuts
Global
s
Focus search bar
?
Bring up this help dialog
GitHub
gp
Go to pull requests
gi
Go to GitHub issues (only if GitHub is preferred repository)