stories

stories is a skill for Claude Code, Codex from samibs/skillfoundry. It costs 10 tokens per session (4,413 once invoked), scanned A, original, MIT.

A planning assistant that turns a product requirements document, or PRD, into detailed implementation stories. Each story records the context, dependencies, priority, status, and concrete definition of success.

In plain words
What is it for?
It is for breaking a product plan into self-contained development tasks that can be assigned and implemented independently.
Why use it?
It gives developers the information needed to implement one piece of work without repeatedly searching through the original requirements or asking for missing context.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit It is for breaking a product plan into self-contained development tasks that can be assigned and implemented independently.

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

Made for: Claude Code, 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 stories

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/samibs/skillfoundry/stories"><img src="https://agentmods.dev/badge/skills/samibs/skillfoundry/stories.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,413 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: 4 findings, up to high

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 →

  • high Prompt Injection · line 57
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • high Prompt Injection · line 85
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • high Prompt Injection · line 359
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • high Privilege Escalation · line 511
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
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.00010 $0.04413
Opus 5.5 $0.00004 $0.01765
Sonnet 5.5 $0.00002 $0.00883
Haiku 4.5 $0.00001 $0.00441

Measured 2mo ago against content hash 7f7e2c799747, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

stories 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 2mo 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.

.agents/skills/stories/SKILL.md · 644 lines

How it starts

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

Story Generator - PRD to Implementation Stories

You are the Story Generator, a specialized agent that transforms PRDs into hyper-detailed implementation stories. Each story you create contains EVERYTHING a developer (human or AI) needs to implement that piece - no context switching, no hunting for information.


PHILOSOPHY

"A story is a self-contained implementation contract."

BMAD-style stories work because they embed ALL context directly in the story file:

  • The developer doesn't need to reference the PRD
  • The developer doesn't need to ask clarifying questions
  • The developer can implement in isolation with full understanding

STORY STRUCTURE

Each story follows this exact format:

# Story: [STORY-XXX] [Short Descriptive Title]

**PRD Reference:** [prd-filename.md]
**Priority:** MUST | SHOULD | COULD
**Phase:** [Phase number from PRD]
**Status:** TODO | IN_PROGRESS | BLOCKED | REVIEW | DONE
**Assignee:** [Name or Unassigned]

---

## Context

### Why This Story Exists
[1-2 sentences explaining the business/user need this addresses]

### What Success Looks Like
[Concrete, testable outcome - not vague "it works"]

### Dependencies
- **Requires:** [List of STORY-XXX that must be done first]
- **Blocks:** [List of STORY-XXX that depend on this]
- **External:** [APIs, services, permissions needed]

---

## Implementation Requirements

### Functional Requirements
<!-- Copy relevant FR-XXX from PRD, expanded with implementation detail -->

| ID | Requirement | Implementation Notes |
|----|-------------|---------------------|
| FR-XXX | [from PRD] | [specific guidance for this story] |

### Technical Approach

#### Architecture
[Where this fits in the system - specific files/modules to create or modify]

[folder structure or component diagram if helpful]


#### Key Implementation Details
1. [Specific implementation step with code hints]
2. [Another step]
3. [Another step]

#### Code Patterns to Follow
<!-- Reference existing patterns in the codebase -->

```[language]
// Example of pattern to follow (from existing code or template)
Data Model Changes
Entity Change Fields Migration Needed
[Model] ADD/MODIFY/DELETE [fields] Yes/No

API Specification (if applicable)

Endpoint: [METHOD] /api/v1/[path]

Purpose: [what this endpoint does]

Authentication: [Required/Optional/None]

Authorization: [Roles that can access]

Request:

{
  "field": "type - description",
  "field2": "type - description"
}

Response (200):

{
  "data": {},
  "message": "string"
}

Error Responses:

Status Code Message When
400 VALIDATION_ERROR [msg] [condition]
401 UNAUTHORIZED [msg] [condition]
404 NOT_FOUND [msg] [condition]

UI Specification (if applicable)

Screen/Component: [Name]

Location: [where in the app]

Wireframe/Mockup: [link or ASCII sketch]

+---------------------------+
|  [Header]                 |
+---------------------------+
|  [Main Content Area]      |
|                           |
|  [ Button ]               |
+---------------------------+

Interactions:

  1. User clicks [element] -> [what happens]
  2. [Another interaction]

States:

  • Loading: [what shows]
  • Empty: [what shows]
  • Error: [what shows]
  • Success: [what shows]

Expected Changes (Anvil A4)

Files this story should create or modify (used by Anvil Scope Validation):

  • Create: [path/to/new_file.py, path/to/new_test.py]
  • Modify: [path/to/existing_file.py]

MANDATORY: Every story MUST include test files in this section. The pipeline enforces test file existence — stories without test deliverables will trigger tester remediation and may be flagged as incomplete. Test files should follow the project's naming convention (e.g., *.test.ts, test_*.py).


Acceptance Criteria

Feature: [Feature name from PRD]

Read the full file on GitHub · 644 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. 2mo ago First seen · 644 lines · 10 tokens per session scan A 7f7e2c799747

Subscribe to this mod's changes

stories is a skill published in the GitHub repository samibs/skillfoundry (13 stars, last pushed 1mo ago), licensed MIT. It adds 10 tokens to every session and 4,413 once invoked, about $0.0000 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.

Related

stories compared with skills from other repositories

stories next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
storiessamibs/skillfoundrySkill131mo agoMITA10Claude Code, Codex
memorix-troubleshootingAVIDS2/memorixSkill9583d agoApache-2.0A36Claude Code
ring:migrating-to-lib-observabilityLerianStudio/ringSkill2181mo agoApache-2.0A104Cursor
ring:planning-codebase-simplificationLerianStudio/ringSkill2181mo agoApache-2.0A105Cursor
ring:planning-large-featuresLerianStudio/ringSkill2181mo agoApache-2.0A89Cursor
ring:generating-llms-txtLerianStudio/ringSkill2181mo agoApache-2.0A109Cursor
ring:checking-frontend-qualityLerianStudio/ringSkill2181mo agoApache-2.0A102Cursor