save-resource

save-resource is a skill for Claude Code, Codex from the-sid-dani/second-brain-os. It costs 134 tokens per session (2,724 once invoked), scanned A, original, MIT.

A filing command that saves research, reference material, meeting notes, or pasted conversation content in the workspace’s standard locations and names.

In plain words
What is it for?
Use it to file a document or chat content into research, reference, meetings, or another configured resource category.
Why use it?
It removes the need to remember different folder and filename rules for each resource type.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/the-sid-dani/second-brain-os/save-resource
Any agent
npx skills add the-sid-dani/second-brain-os --skill save-resource
Clone the repo
git clone --depth 1 https://github.com/the-sid-dani/second-brain-os

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 save-resource

README.md
[![agentmods](https://agentmods.dev/badge/skills/the-sid-dani/second-brain-os/save-resource.svg)](https://agentmods.dev/skills/the-sid-dani/second-brain-os/save-resource)
Your own site
<a href="https://agentmods.dev/skills/the-sid-dani/second-brain-os/save-resource"><img src="https://agentmods.dev/badge/skills/the-sid-dani/second-brain-os/save-resource.svg" alt="Measured on agentmods" height="20"></a>
Per session 134 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,724 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00134 $0.02724
Opus 5 $0.00067 $0.01362
Sonnet 5 $0.00027 $0.00545
Haiku 4.5 $0.00013 $0.00272

Measured 4d ago against content hash 3546aaaf9d7b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

save-resource 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 4d 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.

.claude/skills/save-resource/SKILL.md · 196 lines

How it starts

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

save-resource

Workhorse for getting things into Resources. Input is a source (file or content) + type + topic; output is a file at the canonical destination under <workspace.root>/<workspace.resources>/.

Before you begin: read the Configuration section in root CLAUDE.md. Path tokens like <workspace.resources> resolve to whatever's defined there — don't hardcode.

Why this exists

Resources is two-level (<workspace.resources>/<type>/<content>) and each type has a different convention — research uses YYYY-MM-<topic>-research/ folders, reference is flat, meetings is YYYY-MM-DD-<topic>.md. Doing this by hand means the user has to remember which type uses which convention. The skill enforces it.

This also means Inbox doesn't graveyard. The Inbox→Resources flow has a one-step path (/save-resource) instead of "manually decide where it goes, mkdir if needed, mv it, hope you got the naming right". Without it, items pile up in 0-Inbox forever (research finding from §2 constraint #1).

The skill also accepts CHAT CONTENT as a source, not just paths. If the user pastes notes and says "save this to research/X", the skill writes a new file at the destination — no Inbox round-trip required.

When to use

Trigger phrases (intentionally broad — over-trigger rather than miss):

  • "save this to research" / "save this in reference" / "save this meeting note"
  • "promote this to resources" / "this belongs in resources/"
  • "file this as " / "save the X file in inbox to "
  • "save as a " / "this is a meeting note for X"
  • "/save-resource"

Do NOT trigger for:

  • New project creation — that's /new-project (which has a code-repo branch for repos)
  • Memory updates within an existing project — append directly to that project's memory.md
  • Outputs <assistant.name> generates have dedicated subdirs inside Resources: briefings → <workspace.resources>/briefings/, meeting-prep → <workspace.resources>/meeting-prep/, organization-reports → <workspace.resources>/organization-reports/. /save-resource is for user-supplied reference material (links, articles, snippets) — those land in <workspace.resources>/research/ or <workspace.resources>/reference/.

Read the full file on GitHub · 196 lines

Files

What ships with it

1 file 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. 4d ago First seen · 196 lines · 134 tokens per session scan A 3546aaaf9d7b

Subscribe to this mod's changes

save-resource is a skill published in the GitHub repository the-sid-dani/second-brain-os (2 stars, last pushed 28d ago), licensed MIT. It adds 134 tokens to every session and 2,724 once invoked, about $0.0007 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.

Related

Other skills, from other repositories

follower-onboard

Onboard a NEW family/team machine as a FOLLOWER-CONSUMER joining the multi-machine Claude+vault network. A follower READS the shared vault + canon + skills + memory as RECEIVE- ONLY data, runs nothing heavy locally (no RAG/reindex/GPU), and the hub never pushes executable hooks to it. Trigger on "/follower-onboard "…

tonydzi/second-brain-starter-kit · 99 tokens

claudeai-sync

One-command incremental sync of a claude.ai WEB account into the Obsidian vault — pull only new/changed chats, fold them in as notes (idempotent, never overwrites curated ones), extract artifacts as first-class notes, concept-link the new artifacts, refresh the RAG index + dashboard. Trigger on "/claudeai-sync", "pull…

tonydzi/second-brain-starter-kit · 89 tokens

chat-search

Search INSIDE past Claude Code sessions (the episodic "book of chats" index) — find which previous session discussed a topic, and continue it with one command. Uses a SEPARATE session index, NOT the curated-knowledge RAG, so raw chat noise never pollutes the distilled brain. Trigger on "/chat-search", "which chat…

tonydzi/second-brain-starter-kit · 88 tokens

five-hard

Five Hard Questions — monthly (or on demand) the second brain ITSELF asks the owner 5 hard questions about their own long-held beliefs and codex entries that haven't been revisited in a while. Prevents assumptions from fossilizing. Trigger on "/five-hard", "challenge my beliefs", "pressure-test my views". Part of the…

tonydzi/second-brain-starter-kit · 77 tokens

intake

Rule intake: one pass routes a new rule/preference/policy edit into ALL the right homes (always-loaded canon, memory, the behavioral Bible, a skill, a hook) and leaves a trace in the always-loaded layer so parallel processes see it on their own. Trigger on "/intake", "record this rule", "route this to its homes".…

tonydzi/second-brain-starter-kit · 99 tokens

canon-revision

Full structural REVISION of an always-loaded rules file (CLAUDE.md / MEMORY.md): build a TOP block of the most important rules + numbered categories, move rule bodies verbatim (a script moves bytes and proves 0 losses; the LLM decides only the mapping), fold heavy mechanics into trigger+gist+pointer form, then guards…

tonydzi/second-brain-starter-kit · 104 tokens