ensemble-inject-standards

ensemble-inject-standards is a skill for Claude Code, Codex from FortiumPartners/ensemble. It costs 36 tokens per session (1,100 once invoked), scanned B, original, MIT.

A command that selects relevant coding standards from a project’s standards index, a file listing the project’s conventions and rules. It uses the current task to choose a small set of rules for the agent to follow.

In plain words
What is it for?
Checking that a standards index exists, matching its rules to a task, and outputting the most relevant coding conventions.
Why use it?
Loading every project rule can add unnecessary context, while missing relevant rules can lead to inconsistent code. This command focuses attention on the most applicable guidance.

Skill for Claude CodeCodex

Written for Claude Code and Codex: user-invocable in frontmatter, but also installed under .codex/. Also seen: model in frontmatter; mentions Codex.

Part of the ensemble-codex plugin — 40 skills shipped together

Good fit Checking that a standards index exists, matching its rules to a task, and outputting the most relevant coding conventions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fortiumpartners/ensemble/ensemble-inject-standards
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 FortiumPartners/ensemble --skill ensemble-inject-standards
Clone the repo
git clone --depth 1 https://github.com/FortiumPartners/ensemble

Made for: Claude Code, Codex.

Or install ensemble-codex, the plugin that ships this one along with the rest of its 40 skills.

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 ensemble-inject-standards

README.md
[![agentmods](https://agentmods.dev/badge/skills/fortiumpartners/ensemble/ensemble-inject-standards/github.svg)](https://agentmods.dev/skills/fortiumpartners/ensemble/ensemble-inject-standards)
Your own site
<a href="https://agentmods.dev/skills/fortiumpartners/ensemble/ensemble-inject-standards"><img src="https://agentmods.dev/badge/skills/fortiumpartners/ensemble/ensemble-inject-standards/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 ensemble-inject-standards

Your own site · 80×15
<a href="https://agentmods.dev/skills/fortiumpartners/ensemble/ensemble-inject-standards"><img src="https://agentmods.dev/badge/skills/fortiumpartners/ensemble/ensemble-inject-standards.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,100 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00036 $0.01100
Opus 5 $0.00018 $0.00550
Sonnet 5 $0.00007 $0.00220
Haiku 4.5 $0.00004 $0.00110

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

Security

Grade B, and why

ensemble-inject-standards scanned grade B with 1 finding 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 10d 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.

Asks the agent to reveal its instructionsmediumSystem prompt leakage

Directions to print, repeat or translate the system prompt extract configuration the operator did not intend to expose.

Print instructions for the agent to proceed with the injected context
packages/codex/.codex/skills/commands/ensemble-inject-standards/SKILL.md · 102 lines

How it starts

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

Ensemble Command: /ensemble:inject-standards

This Codex skill mirrors the Ensemble slash command /ensemble:inject-standards. Follow the workflow below, adapt to the current repository, and keep outputs structured.

Read the project standards index and emit a compact, task-relevant subset of coding conventions to stdout for immediate use by the current agent context. Rather than loading all standards every session, this command scores each rule against the provided task description and selects the top 5-8 most applicable rules -- keeping token cost minimal while ensuring the right conventions are surfaced at the right time.

Workflow

Phase 1: Standards Loading

1. Standards Discovery Verify the standards index exists before proceeding

  • Check if standards/index.yml exists in the project root
  • If standards/index.yml does not exist: print "ERROR: No standards index found. Run /ensemble:discover-standards first." and stop
  • If the file exists, read standards/index.yml fully into memory
  • Note the stack metadata (language, framework) and the full list of categories and rules

2. Task Analysis Parse the task description and extract keyword signals for relevance matching

  • Read $ARGUMENTS as TASK_DESCRIPTION
  • If TASK_DESCRIPTION is empty: print "ERROR: Provide a task description, e.g., /ensemble:inject-standards 'implement user authentication endpoint'" and stop
  • Convert TASK_DESCRIPTION to lowercase and extract individual keywords
  • Identify technology terms (language names, framework names, library names)
  • Identify domain nouns (user, order, payment, product, auth, session, etc.)
  • Identify task verbs: implement, fix, test, refactor, add, remove, update, debug, review

Phase 2: Relevance Matching

1. Category Scoring Score each standards category against the extracted task keywords

Read the full file on GitHub · 102 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. 10d ago First seen · 102 lines · 36 tokens per session scan B 4e4e970d6b85

Subscribe to this mod's changes

ensemble-inject-standards is a skill published in the GitHub repository FortiumPartners/ensemble (12 stars, last pushed 2d ago), licensed MIT. It adds 36 tokens to every session and 1,100 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (asks the agent to reveal its instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

context-recovery

Recovers project handoff context from local Codex, Claude Code, Gemini, CodeBuddy, and codexmate-derived sessions. Use when the user asks what happened in prior project/PR/branch/file/error work, needs a handoff brief, wants old decisions or validations recovered, or asks to summarize cross-session project activity…

SakuraByteCore/codexmate · 72 tokens

dev

This skill should be used when the user asks to start, restart, keep alive, or inspect the local pikiclaw development service, including npm run dev, local debug bot startup, dashboard verification, and dev log checks.

xiaotonng/pikiloom · 48 tokens

overleaf

Sync and manage Overleaf LaTeX projects from the command line. Pull projects locally, push changes back, compile PDFs, and download compile outputs like .bbl files for arXiv submissions. Use when working with LaTeX, Overleaf, academic papers, or arXiv.

aloth/olcli · 62 tokens

bmad-quick-dev-new-preview

Implements any user intent, requirement, story, bug fix or change request by producing clean working code artifacts that follow the project's existing architecture, patterns and conventions. Use when the user wants to build, fix, tweak, refactor, add or modify any code, component or feature.

LarsCowe/bmalph · 65 tokens

bmad-quick-dev

Implement a Quick Tech Spec for small changes or features. Use when the user provides a quick tech spec and says "implement this quick spec" or "proceed with implementation of [quick tech spec]".

LarsCowe/bmalph · 46 tokens

bmad-check-implementation-readiness

Validate PRD, UX, Architecture and Epics specs are complete. Use when the user says "check implementation readiness".

LarsCowe/bmalph · 32 tokens