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.
npx skills add smicolon/ai-kit --skill barrel-export-managergit clone --depth 1 https://github.com/smicolon/ai-kitWrote 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.
[](https://agentmods.dev/skills/smicolon/ai-kit/barrel-export-manager)<a href="https://agentmods.dev/skills/smicolon/ai-kit/barrel-export-manager"><img src="https://agentmods.dev/badge/skills/smicolon/ai-kit/barrel-export-manager/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.
<a href="https://agentmods.dev/skills/smicolon/ai-kit/barrel-export-manager"><img src="https://agentmods.dev/badge/skills/smicolon/ai-kit/barrel-export-manager.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00058 | $0.02466 |
| Opus 5.5 | $0.00023 | $0.00986 |
| Sonnet 5.5 | $0.00012 | $0.00493 |
| Haiku 4.5 | $0.00006 | $0.00247 |
Grade A, and why
barrel-export-manager 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 419 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Barrel Export Manager
Auto-creates and maintains index.ts barrel export files in NestJS modules for clean, maintainable imports.
Activation Triggers
This skill activates when:
- Creating new entity, DTO, service, controller, guard, decorator
- Adding files to module directories
- Organizing NestJS module structure
- Mentioning "NestJS", "module", "create"
- Importing from module directories
Required Pattern (MANDATORY)
Every NestJS module folder MUST have index.ts barrel exports:
users/
├── entities/
│ ├── user.entity.ts
│ ├── profile.entity.ts
│ └── index.ts # ✅ Barrel export
├── dto/
│ ├── create-user.dto.ts
│ ├── update-user.dto.ts
│ └── index.ts # ✅ Barrel export
├── services/
│ ├── users.service.ts
│ └── index.ts # ✅ Barrel export
└── controllers/
├── users.controller.ts
└── index.ts # ✅ Barrel export
Auto-Management Process
Step 1: Detect New File
When user creates:
// users/entities/user.entity.ts
@Entity('users')
export class User {
@PrimaryGeneratedColumn('uuid')
id: string
// ...
}
Step 2: Auto-Create/Update index.ts
Automatically create or update users/entities/index.ts:
// users/entities/index.ts
export * from './user.entity'
export * from './profile.entity'
Step 3: Verify Imports Use Barrel
Ensure other files import from barrel:
// ✅ CORRECT - Import from barrel
import { User, Profile } from 'src/users/entities'
// ❌ WRONG - Import from specific file
import { User } from 'src/users/entities/user.entity'
Step 4: Update on File Changes
When files are added/removed/renamed, automatically update the barrel export:
// User adds: organization.entity.ts
// Automatically update index.ts:
export * from './user.entity'
export * from './profile.entity'
export * from './organization.entity' // ✅ Added automatically
Barrel Export Patterns
Entities Directory
// users/entities/index.ts
export * from './user.entity'
export * from './profile.entity'
export * from './organization.entity'
// Usage
import { User, Profile, Organization } from 'src/users/entities'
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.
- 3mo ago Changed · +29 lines 88f77560cdfd
- 3mo ago First seen · 390 lines · 58 tokens per session scan A 506b139d76d6
barrel-export-manager is a skill published in the GitHub repository smicolon/ai-kit (7 stars, last pushed 2mo ago), licensed MIT. It adds 58 tokens to every session and 2,466 once invoked, about $0.0002 per session on Opus 5.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-09-03.
barrel-export-manager compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| barrel-export-managersmicolon/ai-kit | Skill | 7 | 2mo ago | MIT | A | 58 | Claude Code |
| add-dial-toolnanocoai/nanoclaw | Skill | 31k | today | MIT | A | 118 | Claude Code |
| add-telegramnanocoai/nanoclaw | Skill | 31k | today | MIT | A | 12 | Claude Code |
| add-gchatnanocoai/nanoclaw | Skill | 31k | today | MIT | A | 13 | Claude Code |
| add-signalnanocoai/nanoclaw | Skill | 31k | today | MIT | A | 22 | Claude Code |
| add-matrixnanocoai/nanoclaw | Skill | 31k | today | MIT | A | 19 | Claude Code |
| onecli-gatewaynanocoai/nanoclaw | Skill | 31k | today | MIT | A | 81 | Claude Code |