Clew: Skill for Claude Code

.agents/skills/obsidian-to-clew-import/SKILL.md

obsidian-to-clew-import is a skill for Claude Code, Codex from miuuyy/Clew. It costs 72 tokens per session (2,812 once invoked), scanned A, original, MIT.

A converter for moving an Obsidian vault—a folder of linked Markdown notes—into a validated Clew learning graph package.

In plain words
What is it for?
It is for inspecting a vault, previewing an import, choosing relevant settings, preserving relations, and producing either a validated package or a reshape recommendation.
Why use it?
It checks whether the notes can be imported cleanly, preserves explicit links, and stops when the source structure is ambiguous instead of silently inventing meaning.

Skill for Claude CodeCodex

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

This is miuuyy/Clew's own configuration. It tells Claude Code and Codex how to work on Clew itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Clew configures →

Reuse

Borrowing it

Nothing to install: this file belongs to miuuyy/Clew. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/miuuyy/Clew/main/.agents/skills/obsidian-to-clew-import/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/miuuyy/Clew

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 obsidian-to-clew-import

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/miuuyy/clew/obsidian-to-clew-import"><img src="https://agentmods.dev/badge/skills/miuuyy/clew/obsidian-to-clew-import.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,812 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 pass 7 Sept 2026
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.00072 $0.02812
Opus 5 $0.00036 $0.01406
Sonnet 5 $0.00014 $0.00562
Haiku 4.5 $0.00007 $0.00281

Measured 12d ago against content hash 6686c839c72b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

obsidian-to-clew-import 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 12d 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/obsidian-to-clew-import/SKILL.md · 390 lines

How it starts

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

Obsidian To Clew Import

Use this skill when a user wants to move an Obsidian vault, a folder of markdown notes, or a wiki-linked markdown graph into Clew.

This skill has one job:

  • inspect the source vault
  • map it into the Clew import contract
  • preserve explicit structure
  • ask only the minimum important questions
  • produce either a validated package preview or a clear reshape recommendation

Do not turn this into a generic Obsidian copilot or a fuzzy consultation flow.

Product truth

Clew is already opinionated:

  • it is a graph-first workspace for structured learning
  • the graph is the center of truth
  • AI must not silently invent semantics
  • imports must be reviewable and fail closed

So do not ask the user whether the product is “really” a roadmap graph, a knowledge graph, or a study graph.

The target shape is already known:

  • topics
  • relations
  • optional zones
  • optional descriptions
  • optional artifacts

The only question is whether the source vault can be mapped into that shape cleanly, and which import settings best preserve meaning.

Core stance

The converter must:

  • preserve trust
  • surface ambiguity
  • preserve explicit relation markers
  • avoid hidden semantic upgrades
  • preview the result before import

Never silently “improve” meaning.

Scope lock

Stay inside the currently-open vault. Its root is the complete universe of this skill invocation.

Rules:

  • Only read, analyze, and reason about files under the active vault root.
  • Do not look at ~, other Desktop/ folders, sibling vaults, parent directories, other repositories, OS-level paths, or anything outside the vault root — even when the vault is empty or sparse.
  • If the vault is empty, stay empty-aware and follow the "Missing source data" state in the structural audit. Do not scan other locations to compensate.
  • If the user references a path that resolves outside the vault root, stop and surface that explicitly. Do not silently resolve it.
  • "The vault" in this skill means the directory the agent is currently rooted in (for Claudian: the Obsidian vault that became cwd; for Claude Code: the session working directory).

Read the full file on GitHub · 390 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. 12d ago First seen · 390 lines · 72 tokens per session scan A 6686c839c72b

Subscribe to this mod's changes

obsidian-to-clew-import is a skill published in the GitHub repository miuuyy/Clew (166 stars, last pushed 5d ago), licensed MIT. It adds 72 tokens to every session and 2,812 once invoked, about $0.0004 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-30.

Related

Other skills, from other repositories

textbook-distillation

Turn a textbook or long-form source into a self-paced learning track: chapter map, lesson plan, then self-contained HTML lecture notes (styled as the human specifies) with worked examples, exercises, and checkpoint questions. Read this for "lecture notes" / "study notes" / "course" / "syllabus" requests from a…

Lingtai-AI/lingtai · 116 tokens

anki

Anki spaced repetition learning system reference. Covers the science of SRS and SM-2 algorithm, card design principles, optimal deck settings, FSRS scheduler, study workflow, essential add-ons, custom templates, filtered decks, and AnkiConnect API.

bytesagain/ai-skills · 53 tokens

Learning Journal

AI-native learning and knowledge management system. Tracks what you're studying, manages reading lists and course progress, implements spaced repetition review prompts, captures key takeaways from books/articles/courses/podcasts, and runs weekly knowledge reviews. Designed for autodidacts and professionals who learn…

theagentledger/agent-skills · 84 tokens

reading-metaskill

A reading and learning guide based on building a regular reading habit, choosing books, and understanding difficult subjects through original works and explanation.

kangarooking/cangjie-skill · 139 tokens

learning-notes-automation

A workflow for turning videos, podcasts, and articles into structured learning notes. It extracts key ideas and creates flashcards that can be imported into Anki, a spaced-repetition study app.

chubbyguan/chubbyskills · 58 tokens

antivibe

Code learning and audit framework. Analyze any codebase — new, legacy, or AI-generated — and produce educational explanations or architectural audits. Use when the user wants to understand WHAT and WHY behind any code, not just accept it.

mohi-devhub/antivibe · 50 tokens