module-attribution-inferencer

module-attribution-inferencer is a skill for Codex from Eliyce/paqad-ai. It costs 64 tokens per session (1,462 once invoked), scanned A, original, MIT.

A fallback module-matching step that guesses which existing module a request may belong to when no explicit module reference was found. It compares the request with module names, features, paths, symbols, routes, and database tables, then returns ranked choices.

In plain words
What is it for?
Use it before asking the user to choose a module when the deterministic module extractor found no candidates.
Why use it?
It helps surface plausible ownership choices without treating an uncertain match as fact.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it before asking the user to choose a module when the deterministic module extractor found no candidates.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/eliyce/paqad-ai/module-attribution-inferencer
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 Eliyce/paqad-ai --skill module-attribution-inferencer
Clone the repo
git clone --depth 1 https://github.com/Eliyce/paqad-ai

Made for: Codex.

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 module-attribution-inferencer

README.md
[![agentmods](https://agentmods.dev/badge/skills/eliyce/paqad-ai/module-attribution-inferencer/github.svg)](https://agentmods.dev/skills/eliyce/paqad-ai/module-attribution-inferencer)
Your own site
<a href="https://agentmods.dev/skills/eliyce/paqad-ai/module-attribution-inferencer"><img src="https://agentmods.dev/badge/skills/eliyce/paqad-ai/module-attribution-inferencer/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 module-attribution-inferencer

Your own site · 80×15
<a href="https://agentmods.dev/skills/eliyce/paqad-ai/module-attribution-inferencer"><img src="https://agentmods.dev/badge/skills/eliyce/paqad-ai/module-attribution-inferencer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,462 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 104
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
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.00064 $0.01462
Opus 5 $0.00032 $0.00731
Sonnet 5 $0.00013 $0.00292
Haiku 4.5 $0.00006 $0.00146

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

Security

Grade A, and why

module-attribution-inferencer 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 11d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/infer.sh, scripts/is-confident.sh, scripts/require-module-map.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

runtime/base/skills/module-attribution-inferencer/SKILL.md · 106 lines

How it starts

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

What It Does

Runs only when the module-attribution-extractor returned extractor: no-decision-needed with zero raw candidates. Tokenises the prompt, scores each existing module's name + feature names + source paths + evidence (symbols, routes, tables) against it, weights name/slug tokens 2× over path tokens, and emits a ranked multi-choice draft. Always includes two fallback choices (new-module-fallback, no-attribution) so the Decision Pause packet is complete even when nothing scores above the floor.

Use This When

  • The extractor produced zero candidates (no ticket headers, no module: markers, no new module phrasing).
  • You need to ask the user "which module does this belong to?" before continuing planning.

Do not run this when the extractor already produced candidates — that path is owned by module-attribution-extractor.

Inputs

  • prompt — required. The user-supplied text.
  • project_root — optional. Defaults to cwd. Used to load module-map.yml.
  • max_choices — optional. Cap on existing-module choices returned (default 3).
  • Scoring details live in runtime/base/skills/module-attribution-inferencer/references/scoring.md.

Procedure

  1. Resolve the project root (default cwd).
  2. Invoke the TS engine via the bundled wrapper:
    bash scripts/infer.sh <prompt-file> [project-root] [max-choices]
    
    The wrapper shells out to paqad-ai module-decisions infer --project-root <root> --prompt-file <tmp> [--max-choices N].
  3. Parse the emitted JSON. Fields: choices[] (sorted by score desc, with fallbacks last), prompt_tokens, confident.
  4. Surface a single Decision Pause packet to the user (one packet for the inferencer, not one-per-choice).

Decision Pause Packet Shape

  • QuestionWhich module does this prompt belong to?
  • HeaderModule attribution.
  • Options — one per choices entry. Each option label:
    • extend-existingExtend "<name>" (<slug>) with the reasoning shown as description.
    • new-module-fallbackIntroduce a new module (description: collect a name from the user, then hand off back to module-attribution-extractor).
    • no-attributionSkip attribution for this prompt (description: continue planning with no module-map mutation; record nothing).

Read the full file on GitHub · 106 lines

Files

What ships with it

6 files 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. 11d ago First seen · 106 lines · 64 tokens per session scan A dfef4ce4f7c2

Subscribe to this mod's changes

module-attribution-inferencer is a skill published in the GitHub repository Eliyce/paqad-ai (8 stars, last pushed today), licensed MIT. It adds 64 tokens to every session and 1,462 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.