add-source
In an lstack learning vault (a folder containing lstack.yaml), read a new file in sources/ and propose new nodes, new prereq edges, and edits to existing nodes.
Skill by sscw32
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/sscw32-add-source
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/add-source
What's inside
- Skill name
add-source- Description
- In an lstack learning vault (a folder containing lstack.yaml), read a new file in sources/ and propose new nodes, new prereq edges, and edits to existing nodes. Use for "/add-source", "I added a new chapter to sources", "propose nodes from this file", "what's uncited in sources". Skip when the folder has no lstack.yaml, when the user wants to check a source for errors (/check-source), or when the file is a code dependency.
- License
- MIT
- Instructions
- 48 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- openai.yaml · agents/
SKILL.md (first lines)
# Add source Turn one new source file into proposed tree changes, then write only after a yes. ## Preconditions Confirm `lstack.yaml` exists in the working directory or a parent. If not, say this isn't a vault and suggest `/setup-vault`. Read `MISSION.md`, `kb/today.md`, and the newest file in `log/`. Open with one line on where the user is. ## Argument The text after the skill name in the user's message is a file in `sources/`. If there is none, run `node .lstack/lstack.mjs lint` and list the `sources/` files it reports as cited by no node. Ask which one to add. ## Steps 1. Read the file. Read `kb/index.md` and the existing nodes in the branch it most likely belongs to. 2. Propose, as one table with columns id, title, kind, parent, prereqs, source: - new nodes, each with `status: new` and a two-sentence Summary ending `(agent draft)`; - edits to existing nodes: new `## Terms` entries, new cards, new `prereqs` edges, a new `sources` citation; - where each new node goes in the tree (top level or under which parent). 3. Show a Mermaid `flowchart LR` of the branch with new nodes and new edges marked (`:::new` class and a `%% new` comment). 4. Iterate until the user says yes. 5. Preview every write per the format below. Wait for yes. Write. 6. Run `node .lstack/lstack.mjs build`, then `node .lstack/lstack.mjs lint`. Report one line. If `lstack.yaml` says `node_available: false`, rebuild `kb/index.md` and `kb/today.md` by hand and say so. ## Preview format ``` ### Proposed write 1 of N: kb/<path>.md (new file) <full contents> ### Proposed write 2 of N: kb/<path>.md **Frontmatter** - prereqs: [a] → [a, b] - sources: 2 entries → 3 entries (+ "chapter-4.md 4.2") **Body** + - new term :: definition ``` Reply **yes** to write all, **no** to skip all, or name what to change. Never summarise a write as "updated X". ## Rules - Cite the file by name in `sources` so lint stops reporting it. Never invent a citation. - Node ids are unique, lowercase, `a-z0-9-`, equal to the filename. Children go in a folder beside the parent file. - Never write into `sources/`, `notes/`, or `problems/attempts/`. Never edit generated files. - No hooks, no sub-agents, no argument substitution.
From sscw32/lstack, MIT.
More from sscw32/lstack
- 0.570score
setup-vault
sscw32
In an lstack learning vault (a folder containing lstack.yaml), or in an empty folder that should become one, create the vault for one subject from the user's…
SkillAFreshness: AClaude Code +9 - 0.565score
upgrade-vault
sscw32
In an lstack learning vault (a folder containing lstack.yaml), bring an existing vault up to the installed lstack version by refreshing .lstack/ and merging…
SkillAFreshness: AClaude Code +9 - 0.524score
check-source
sscw32
In an lstack learning vault (a folder containing lstack.yaml), read one source file, note, or node against the other sources and report suspected errors with…
SkillBFreshness: BClaude Code +9 - 0.524score
drill
sscw32
In an lstack learning vault (a folder containing lstack.yaml), run today's spaced review as an interleaved, topic-blind test over the due nodes, scoring each…
SkillBFreshness: BClaude Code +9 - 0.524score
explain
sscw32
In an lstack learning vault (a folder containing lstack.yaml), explain one node from its sources in plain, intuition, or formal mode, pausing for recall…
SkillBFreshness: BClaude Code +9 - 0.524score
give-up
sscw32
In an lstack learning vault (a folder containing lstack.yaml), reveal the full answer to the current problem and record a gave-up result on the node.
SkillBFreshness: BClaude Code +9 - 0.524score
hint
sscw32
In an lstack learning vault (a folder containing lstack.yaml), give one escalating hint on the problem the user is stuck on without revealing the answer or…
SkillBFreshness: BClaude Code +9 - 0.524score
into-the-woods
sscw32
In an lstack learning vault (a folder containing lstack.yaml), test the fine print of one node from its sources, asking about edge cases, theorem conditions…
SkillBFreshness: BClaude Code +9 - 0.524score
lint-vault
sscw32
In an lstack learning vault (a folder containing lstack.yaml), run the script's lint and then read the nodes for contradictions, doubly defined terms, and…
SkillBFreshness: BClaude Code +9 - 0.524score
progress
sscw32
In an lstack learning vault (a folder containing lstack.yaml), report status counts, calibration gaps, hint-heavy nodes, session streak, and what changed…
SkillBFreshness: BClaude Code +9 - 0.524score
quiz
sscw32
In an lstack learning vault (a folder containing lstack.yaml), test the user on one named node or branch with five to ten questions, scored per node with…
SkillBFreshness: BClaude Code +9 - 0.524score
recall
sscw32
In an lstack learning vault (a folder containing lstack.yaml), run a free-recall test where the user writes everything they remember about one node before any…
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 15, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/sscw32/lstack
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from sscw32
- 0.570score
setup-vault
sscw32
In an lstack learning vault (a folder containing lstack.yaml), or in an empty folder that should become one, create the vault for one subject from the user's…
SkillAFreshness: AClaude Code +9 - 0.565score
upgrade-vault
sscw32
In an lstack learning vault (a folder containing lstack.yaml), bring an existing vault up to the installed lstack version by refreshing .lstack/ and merging…
SkillAFreshness: AClaude Code +9 - 0.524score
cards
sscw32
In an lstack learning vault (a folder containing lstack.yaml), propose five to fifteen spaced-repetition cards for one node in Obsidian syntax and write them…
SkillBFreshness: BClaude Code +9 - 0.524score
check-source
sscw32
In an lstack learning vault (a folder containing lstack.yaml), read one source file, note, or node against the other sources and report suspected errors with…
SkillBFreshness: BClaude Code +9 - 0.524score
drill
sscw32
In an lstack learning vault (a folder containing lstack.yaml), run today's spaced review as an interleaved, topic-blind test over the due nodes, scoring each…
SkillBFreshness: BClaude Code +9 - 0.524score
explain
sscw32
In an lstack learning vault (a folder containing lstack.yaml), explain one node from its sources in plain, intuition, or formal mode, pausing for recall…
SkillBFreshness: BClaude Code +9
Cite this page
add-source skill. Agent Mart. https://agentmart.dev/skills/sscw32-add-source (last updated 2026-10-24)