lore

lore is a skill in specstoryai/getspecstory, last changed 11 Jun 2026. It can add hooks, touch credentials, install more skills, change agent settings, run shell commands, reach the network, name web addresses, bundle scripts and pre-approve tools — read the findings before installing. Our pattern check found 1 item to review at commit d1b86cb on 27 Oct 2026.

Pattern check: 1 item to review · commit d1b86cb · 27 Oct 2026

Install
From the author
SpecStory Lore - mine your SpecStory coding histories (any agent - Claude Code, Codex, Cursor, Gemini, and more) into a persistent corpus, surface your reproducible workflows with corroborated evidence, and interactively forge the chosen ones into skills installed across all your agent harnesses. Use when the user wants to turn past AI coding sessions into reusable skills, asks "what could I make into a skill", "mine my lore", "forge skills from my history", or points at a .specstory/history directory.
Licence
Apache 2.0
Repo stars
1.4k
Publisher
specstoryai
Checked
d1b86cb (opens in a new tab) · 27 Oct 2026

Install

Each tab says whether it installs commit d1b86cb, the one we checked, or the latest version.

No tab for your agent? Use Any agent for OpenCode, Goose, Windsurf (Devin Desktop), Zed, Roo Code, Factory Droid, Junie, Amp and Antigravity, and Claude Code for Cline. Kiro needs the folder copied by hand.

Pinned to commit d1b86cb, the one we checked.

From your project's root folder:

tmp="$(mktemp -d)" &&
  git clone -q --depth 1 --filter=blob:none --no-checkout https://github.com/specstoryai/getspecstory.git "$tmp" &&
  git -C "$tmp" fetch -q --depth 1 origin d1b86cb09f87e6da1015af0213104504389bb198 &&
  git -C "$tmp" sparse-checkout set -- lore &&
  git -C "$tmp" checkout -q d1b86cb09f87e6da1015af0213104504389bb198 &&
  mkdir -p .claude/skills &&
  mkdir .claude/skills/lore &&
  cp -R "$tmp"/lore/. .claude/skills/lore/ &&
  rm -rf "$tmp"

If Claude Code was already running and this created the skills folder, run /reload-skills.

Or install the lore plugin it ships in. Installs the latest version, not the one we checked. Installs everything in the plugin, including any hooks, MCP servers and scripts our check doesn't cover.

claude plugin marketplace add specstoryai/getspecstory --scope project &&
  claude plugin install lore@specstory --scope project
Claude Code docs (opens in a new tab)

What it can touch

From the files and frontmatter at commit d1b86cb. This is how much a skill can do, not whether it is risky.

What it can touch: Shell, network or credentials

  • Runs shell commands

    Its instructions or files give the agent commands to run on your computer.

  • Reaches the network

    It sends or fetches data over the internet, for example with curl, an HTTP library or a package install.

  • Names web addresses

    It mentions outside web addresses the agent may visit. We list them but don't follow them.

  • Bundles scripts

    The folder holds code files the agent may run.

    tests/engine.test.mjs

  • Pre-approves tools

    Its allowed-tools field lists tools the agent may use without asking you first, in agents that honour it.

    SKILL.md:5

  • Adds hooks

    Its frontmatter registers commands that run automatically on agent events for the rest of the session.

    SKILL.md:7

  • Touches credentials

    It reads, asks for or contains keys, tokens, passwords or similar secrets.

    scripts/lib/patterns.mjs:187 · tests/engine.test.mjs:586 · tests/engine.test.mjs:589 and 2 more

  • Installs more skills

    It tells the agent to install other skills, plugins or tool servers.

    CONTRIBUTING.md:23

  • Changes agent settings

    It writes to agent memory or settings files such as CLAUDE.md, AGENTS.md or .claude/settings.json.

    SKILL.md:237 · SKILL.md:458 · AS-BUILT-ARCHITECTURE.md:255

Pattern check

Pattern check: 1 item to review · commit d1b86cb · 27 Oct 2026

We checked every text file in this skill, at commit d1b86cb on 27 Oct 2026, against 45 published patterns such as download-and-run commands, hidden text and credential access. We don't run the skill, we don't read the web pages it points to, and we can't judge everything its instructions might lead an agent to do. In published tests, pattern checks like this one missed most malicious skills. Read the skill before you install it — especially anything it asks you to download or run.

How the check worksReport an incorrect finding

Outside links we did not follow

  • https://github.com/specstoryai
  • https://github.com/specstoryai/getspecstory/tree/dev/lore
  • https://github.com/specstoryai/getspecstory
  • http://www.apache.org/licenses/
  • http://www.apache.org/licenses/LICENSE-2.0
  • https://github.com/specstoryai/getspecstory/actions/workflows/lore-validate.yml
  • https://github.com/specstoryai/getspecstory/actions/workflows/lore-validate.yml/badge.svg
  • https://github.com/specstoryai/getspecstory/releases?q=lore&expanded=true
  • https://img.shields.io/github/v/tag/specstoryai/getspecstory?filter=lore%2Fv*&label=release
  • https://img.shields.io/badge/license-Apache--2.0-blue
Show 3 more
  • https://img.shields.io/badge/dependencies-0-brightgreen
  • https://github.com/user-attachments/assets/082b51e7-2283-4204-a093-45b8b1ce3ce1
  • https://agentskills.io

Format check

Each agent reads SKILL.md a little differently. We check the file against each one's published rules; we don't run the skill in any agent.

  • Agent Skills specPasses with warnings

    The open format from agentskills.io, held to what the strictest agents enforce, so one folder loads everywhere.

    • Warning

      Fields outside the spec: argument-hint (read by Claude Code and VS Code) and hooks (read by Claude Code). Uploads to the Claude apps and API, and the spec's validator, reject the file; most agents ignore these fields. O1

      Fix: Delete them for a portable skill, or keep them if you only target the agents that read them.

    • Warning

      The body is 528 lines; the spec suggests under 500. B1

      Fix: Move detailed sections into reference files and link to them from SKILL.md.

    • Warning

      The body is about 8,152 tokens (approx.); the spec suggests under 5,000. B2

      Fix: Move detail into reference files that the agent reads only when needed.

    • Note

      The first sentence of the description is 297 characters. Agents shorten long descriptions, so lead with the main job. D8

      Fix: Start with one short sentence that names the job.

    • Note

      Reference files that SKILL.md doesn't link: AGENTS.md, AS-BUILT-ARCHITECTURE.md (linked only from HOW-IT-WORKS.md), CLAUDE.md, HOW-IT-WORKS.md, fixtures/golden/forge-plan.md and 13 more. Anthropic suggests linking every reference file directly from SKILL.md. B4

      Fix: Link each one from SKILL.md and say when to read it.

    • Note

      Reference files over 100 lines with no table of contents at the top: HOW-IT-WORKS.md (321 lines) and fixtures/projC/.specstory/history/2026-05-10_09-00-00Z-where-is-save-implemented.md (134 lines). B5

      Fix: Add a short list of the sections at the top of each.

  • Claude CodePasses

    Claude Code reads its own extra fields, ignores unknown ones, and still loads a skill whose frontmatter is broken, without its fields.

    • Note

      The first sentence of the description is 297 characters. Agents shorten long descriptions, so lead with the main job. D8

      Fix: Start with one short sentence that names the job.

    • Note

      The body is 528 lines; the spec suggests under 500. Claude Code's docs say the same. B1

      Fix: Move detailed sections into reference files and link to them from SKILL.md.

    • Note

      The body is about 8,152 tokens (approx.); the spec suggests under 5,000. After compaction Claude Code keeps only the first 5,000 tokens of a skill. B2

      Fix: Move detail into reference files that the agent reads only when needed.

    • Note

      Reference files that SKILL.md doesn't link: AGENTS.md, AS-BUILT-ARCHITECTURE.md (linked only from HOW-IT-WORKS.md), CLAUDE.md, HOW-IT-WORKS.md, fixtures/golden/forge-plan.md and 13 more. Anthropic suggests linking every reference file directly from SKILL.md. B4

      Fix: Link each one from SKILL.md and say when to read it.

    • Note

      Reference files over 100 lines with no table of contents at the top: HOW-IT-WORKS.md (321 lines) and fixtures/projC/.specstory/history/2026-05-10_09-00-00Z-where-is-save-implemented.md (134 lines). B5

      Fix: Add a short list of the sections at the top of each.

  • Claude apps & API uploadFails

    Uploading to claude.ai or the Claude API, or packaging with Anthropic's script, accepts only the six spec fields and stops on anything else.

    • Error

      Upload and packaging fail on fields outside the spec: argument-hint and hooks. O1

      Fix: Delete them, and keep your own data under metadata as text values.

    • Note

      The description is 507 characters. The claude.ai Help Center says 200 at most, though Anthropic's API docs and validator allow 1,024. D4

      Fix: If the claude.ai upload refuses it, trim the description to 200 characters.

    • Note

      The body is 528 lines; the spec suggests under 500. Anthropic's guidance says the same. B1

      Fix: Move detailed sections into reference files and link to them from SKILL.md.

    • Note

      The body is about 8,152 tokens (approx.); the spec suggests under 5,000. Anthropic's guidance says the same. B2

      Fix: Move detail into reference files that the agent reads only when needed.

    • Note

      Reference files that SKILL.md doesn't link: AGENTS.md, AS-BUILT-ARCHITECTURE.md (linked only from HOW-IT-WORKS.md), CLAUDE.md, HOW-IT-WORKS.md, fixtures/golden/forge-plan.md and 13 more. Anthropic suggests linking every reference file directly from SKILL.md. B4

      Fix: Link each one from SKILL.md and say when to read it.

    • Note

      Reference files over 100 lines with no table of contents at the top: HOW-IT-WORKS.md (321 lines) and fixtures/projC/.specstory/history/2026-05-10_09-00-00Z-where-is-save-implemented.md (134 lines). B5

      Fix: Add a short list of the sections at the top of each.

  • OpenAI (Codex & API)Passes with warnings

    Codex finds SKILL.md by its exact name and needs a description; OpenAI's Skills API checks the frontmatter against the spec and caps uploads.

    • Warning

      Fields outside the spec: argument-hint and hooks. Codex ignores them; OpenAI doesn't say whether its upload accepts them. O1

      Fix: Delete them, or move your own data under metadata as text values.

    • Note

      The first sentence of the description is 297 characters. Agents shorten long descriptions, so lead with the main job. D8

      Fix: Start with one short sentence that names the job.

  • VS Code & CopilotPasses

    VS Code reads skills one folder below .github/skills, .claude/skills or .agents/skills and falls back to the folder name when the name is missing or differs; GitHub's Copilot docs require the exact name SKILL.md.

    • Note

      VS Code ignores fields it doesn't support: hooks. O1

      Fix: Delete them unless another agent you target reads them.

SKILL.md

Files

43 files

PathSize
.claude-plugin/plugin.json (opens in a new tab)738 B
.gitattributes (opens in a new tab)342 B
.gitignore (opens in a new tab)36 B
AGENTS.md (opens in a new tab)1.6 KB
AS-BUILT-ARCHITECTURE.md (opens in a new tab)27.6 KB
CHANGELOG.md (opens in a new tab)12.7 KB
CLAUDE.md (opens in a new tab)11 B
CONTRIBUTING.md (opens in a new tab)5.1 KB
HOW-IT-WORKS.md (opens in a new tab)20.7 KB
LICENSE (opens in a new tab)11.1 KB
README.md (opens in a new tab)9.3 KB
SKILL.md (opens in a new tab)32.9 KB
fixtures/golden/forge-plan.md (opens in a new tab)1.7 KB
fixtures/projA/.specstory/.project.json (opens in a new tab)93 B
fixtures/projA/.specstory/history/2025-07-10_09-00-00Z-fix-the-gitignore.md (opens in a new tab)736 B
fixtures/projA/.specstory/history/2026-05-01_10-00-00Z-can-we-run-a.md (opens in a new tab)1.2 KB
fixtures/projA/.specstory/history/2026-05-02_11-00-00Z-can-we-run-a.md (opens in a new tab)1015 B
fixtures/projA/.specstory/history/2026-05-03_12-00-00Z-can-we-run-a.md (opens in a new tab)994 B
fixtures/projA/.specstory/history/2026-05-04_13-00-00Z-check-the-vet.md (opens in a new tab)1 KB
fixtures/projA/tools/subpkg/.specstory/history/2026-05-07_10-00-00Z-tune-the-subpkg.md (opens in a new tab)458 B
Show 23 more
PathSize
fixtures/projB/.specstory/.project.json (opens in a new tab)93 B
fixtures/projB/.specstory/history/2026-05-05_14-00-00Z-can-we-run-a.md (opens in a new tab)795 B
fixtures/projC/.specstory/.project.json (opens in a new tab)93 B
fixtures/projC/.specstory/history/2026-05-10_09-00-00Z-where-is-save-implemented.md (opens in a new tab)4 KB
fixtures/projC/.specstory/history/2026-05-11_10-00-00Z-where-is-token-validation.md (opens in a new tab)1.9 KB
fixtures/provider-antigravity/.specstory/history/2026-05-23_09-00-00Z-run-the-linter.md (opens in a new tab)567 B
fixtures/provider-deepseek/.specstory/history/2026-05-22_09-00-00Z-count-source-lines.md (opens in a new tab)562 B
fixtures/provider-droid/.specstory/history/2026-05-21_09-00-00Z-show-git-status.md (opens in a new tab)612 B
fixtures/provider-gemini/.specstory/history/2026-05-20_09-00-00Z-list-the-workspace.md (opens in a new tab)610 B
package.json (opens in a new tab)337 B
scripts/deep-mine.workflow.js (opens in a new tab)6.3 KB
scripts/hooks/validate-plan.mjs (opens in a new tab)2.5 KB
scripts/lib/beats.mjs (opens in a new tab)22.2 KB
scripts/lib/db.mjs (opens in a new tab)3.8 KB
scripts/lib/discover.mjs (opens in a new tab)3.3 KB
scripts/lib/forged.mjs (opens in a new tab)6.5 KB
scripts/lib/indexer.mjs (opens in a new tab)7.4 KB
scripts/lib/parse.mjs (opens in a new tab)10.4 KB
scripts/lib/patterns.mjs (opens in a new tab)14.4 KB
scripts/lib/report.mjs (opens in a new tab)21.8 KB
scripts/mine-skills.mjs (opens in a new tab)16.9 KB
scripts/theme-sweep.workflow.js (opens in a new tab)7.5 KB
tests/engine.test.mjs (opens in a new tab)44.9 KB

More from specstoryai/getspecstory

  • workthreads

    specstoryai/getspecstory

    SpecStory Workthreads - a weekly work-thread rollup across a team's repos from SpecStory coding histories (any agent - Claude Code, Codex, Cursor, Gemini, and more). It groups the window's sessions into threads of work per project and labels each new / open / recently closed, so a lead sees what shipped, what is still an open loop, and what was just started. Use when someone asks "what happened this week", "what is still open", "what did the team finish", "give me the weekly rollup", or wants a status report over a .specstory/history corpus.

    • Touches credentials
    • Runs shell commands
    • +3 more
    Pattern check: 1 item to review

    Apache 2.0 · 1.4k repo stars · Updated 6 Jul 2026