agentleFS
ppikkuahoppikkuaho/claude-skills/skills/outbound-injections/skill.md

outbound-injections

Skill0 starsChanged 6 months agoMITView on GitHub

Configure outbound injections — per-turn text blocks appended to every API request. Use at session start when offered, or anytime the user wants to adjust what gets injected.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run the bundled CLI from this skill directory.

    line 21
  2. Distinctive:

    Create a custom injection for this session:

    line 41
  3. Distinctive:

    Remove a custom injection:

    line 47
  4. Distinctive:

    Ask the user if they'd like to enable any, or create custom ones for the session.

    line 56
  5. Distinctive:

    Only enable what the user explicitly asks for.

    line 57
  6. Distinctive:

    If the user says no or gives you a task, proceed normally.

    line 58
  7. Distinctive:

    Keep it to one or two sentences — don't block the user's first request.

    line 60

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
skill.md

Outbound Injections

Outbound injections are per-turn text blocks appended to every API request by a patched Claude Code wrapper. Each session starts with a clean slate — no injections active. You configure what's needed for the current session.

This skill ships the management CLI under scripts/. It assumes a wrapper that reads session injection files from ~/.claude-patched/ and appends them to each request; the wrapper itself is not bundled here.

Default injections available

IDWhat it injects
always-think"Always think before answering."
artifact-firstOperating principles: artifact-first output, meta-learning, durable capture

Commands

Run the bundled CLI from this skill directory. The commands operate on this session only and take effect on the next API request.

List current session injections and available defaults:

python3 scripts/toggle_injection.py list

Enable a default injection:

python3 scripts/toggle_injection.py enable <id>

Disable an active injection:

python3 scripts/toggle_injection.py disable <id>

Create a custom injection for this session:

python3 scripts/toggle_injection.py add <id> "<content>"

Remove a custom injection:

python3 scripts/toggle_injection.py remove <id>

Session-start workflow

  1. Mention that no injections are active and the defaults are available.
  2. Ask the user if they'd like to enable any, or create custom ones for the session.
  3. Only enable what the user explicitly asks for. Do not add defaults the user didn't request.
  4. If the user says no or gives you a task, proceed normally.

Keep it to one or two sentences — don't block the user's first request.

Global management

To make permanent changes that affect sessions without a per-session file:

python3 scripts/toggle_injection.py --global [list|enable|disable] <id>

How it works

  • Boot creates an empty session injection file (~/.claude-patched/session-injections-{session_id}.json).
  • The wrapper checks: if a session file exists, use only those injections. Otherwise fall back to global.
  • Session end cleans up the session file automatically.
  • grounding injection is controlled separately by agent frontmatter, not this system.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.