/aria-knowledge:intake [extract|doc|thread] <url|text|path|glob|id> [tags]from aria-knowledge
Captures knowledge from external sources: clips URLs/text snippets, bulk-scans files/directories/globs into backlogs, extracts structured doc reflections, and pulls chat/email threads via MCP. Use for importing knowledge, onboarding projects, or saving links and snippets.
Ships in aria-knowledge. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Two modes:
/intake doc) — Capture a single doc as a structured intake entry at intake/docs/{YYYY-MM-DD}-{slug}.md with a 5-section body: what the doc claims / worth keeping / contested or unclear / action implied / my reaction. For when you're reading something and want a thoughtful capture rather than a bulk scan.Canonical resolution: This is the Claude Code variant. When both plugin-claude-code and plugin-claude-cowork are loaded in the same session (most common in Claude Desktop), bare /intake resolves to this skill — aria-knowledge (Code) is the canonical owner of all 24 dual-port skills per ADR-094 §Part 1. The Cowork variant is namespaced-only: /aria-cowork:intake.
Before Step 0 — runtime self-correction. Check whether the Bash tool is available in this session. If Bash is NOT available (you are running in Claude Cowork or another non-Code runtime), this invocation reached the wrong variant for the runtime. Do not ask — redirect. Announce it in one line, then use the Skill tool to invoke aria-cowork:intake with the same arguments the user provided, and do not run this skill's steps:
↪️ Redirecting to
/aria-cowork:intake— you invoked the aria-knowledge (Code) variant, but you are running in Claude Cowork or another non-Code runtime.This variant scans local files/directories/globs via Bash + WebFetch, which Cowork can't access the same way. For the Cowork-native variant (file scan reads from attached folder; doc mode uses ~~docs MCPs; supports pasted content), use
/aria-cowork:intake.
⛔ The redirect is unconditional — every mode including auto, and no opt-out. Reaching this variant under that condition is always a mis-invocation, so there is nothing for the user to decide. Design record: docs/superpowers/specs/2026-08-28-runtime-gate-auto-redirect-design.md (D2 auto-redirect, D3 no escape hatch, D6 announce-don't-swap-silently).
If Bash is available, proceed to Step 0.
Read ~/.claude/aria-knowledge.local.md and extract knowledge_folder. If the file doesn't exist, stop: "aria-knowledge is not configured. Run /setup to get started."
Use {knowledge_folder} as the base path for all file operations in subsequent steps.
Mode detection (first match wins):
== extract (case-insensitive) → mode = extract. The remaining arg is ONE source (URL / file / dir / doc-URL); decompose it into backlog entries by running the bulk-scan logic (Step 1 onward) on that single source. extract is standalone — it does NOT combine with doc/thread (no /intake extract doc …); a doc to decompose is just /intake extract <doc-url> (extract fetches it). If the arg after extract is literally doc or thread, treat as malformed and prompt for clarification.== doc → mode = doc. Jump to "Doc Mode Steps" (D1–D6), unchanged.== thread → mode = thread. Jump to "Thread Mode Steps" (T1–T3) below.slack.com, teams.microsoft.com, mail.google.com, outlook/office) → mode = thread (no keyword needed).^https?:// OR free text (not an existing path) → mode = clip-whole. Jump to "Clip-Whole Steps" (C1–C3) below.mode = bulk. Proceed to Step 1 (bulk scan, unchanged).extract <src> to decompose, doc <src> for a reflection capture, thread <id> for a chat/email thread)".The mental model: default = capture this whole; extract = decompose it; doc = reflect on it (5-section); thread = the one source that needs naming (or auto-detected from a chat URL). Note (behavior change from prior versions): a bare URL now CLIPS WHOLE — it no longer auto-mines into backlogs. To mine a single URL, use /intake extract <url> (or let /audit knowledge Step 2f decompose the clipping later).
Doc mode runs steps D1 → D6 to completion and exits. Do not run any bulk-mode step (Step 1 onward) in doc mode.
The source can be a URL, file path, or just a title (when capturing notes on a doc you read elsewhere).
doc contain a URL: use as source_url; attempt WebFetch in D2 to extract title/author/contentdoc contain a file path: use as source_path; Read in D2doc are plain text (no URL/path detected): treat as source_title; no content fetch — user fills body manually in D3doc: prompt: "What doc are you capturing? Paste a URL, file path, or title."Capture the following for D3:
source_title (from page title, file frontmatter, or user-provided string)source_url (if URL; else omit)source_author (if discoverable; else omit per #28a-5)captured_at (current ISO 8601 timestamp)read_at (defaults to captured_at — D4 preview lets user adjust if they read the doc earlier)${CLAUDE_PLUGIN_ROOT}/template/intake/intake-doc.md to load the body template.source_title: lowercase, hyphenated, alphanumeric only, max ~60 chars. Example: "The Bitter Lesson" → the-bitter-lesson. If source_title is empty, use doc-{HHMMSS} as fallback.{knowledge_folder}/intake/docs/{YYYY-MM-DD}-{slug}.md. If file already exists at that path, append -2, -3, etc. to slug until unique.source_url if absent; omit source_author if absent. Always populate captured_at, read_at, type: intake-doc.index.md tags to prefer canonical names; new tags are fine but flag them).semantic-hints: free-form phrases that match how a future query might reach this doc (per the convention in template/README.md).{Your reaction — 1-3 sentences. This section is yours, not the doc's.}) for the user to fill, since "reaction" is the user's voice not Claude'sShow the populated entry before writing. Format:
## Doc Intake Preview
**Target:** {knowledge_folder}/intake/docs/{YYYY-MM-DD}-{slug}.md
[full populated entry: frontmatter + body]
---
Save to intake/docs/?
- `yes` — write the file as shown
- `edit {section}` — revise a specific section (claims / keeping / contested / action / reaction / tags / hints / title / slug)
- `skip` — abort, write nothing
Wait for explicit response. Allow multiple edit directives in sequence (re-show preview after each revision).
On yes, write the entry to {knowledge_folder}/intake/docs/{YYYY-MM-DD}-{slug}.md. Create the intake/docs/ subfolder if it doesn't exist (this is the first doc-mode capture).
## Doc Intake Complete
- **Source:** {source_title or source_url or "untitled"}
- **Path:** {knowledge_folder}/intake/docs/{YYYY-MM-DD}-{slug}.md
- **Tags:** {tag list}
Entry staged in intake/docs/ for next /audit knowledge to review and promote.
Exit after report. Doc mode runs D1 → D6 only; bulk-mode steps (Step 1 onward) are not executed.
Capture the source whole as one clipping for later review at /audit knowledge Step 2f. Runs C1–C3 and exits. (Absorbs the retired /clip.)
source.Resolve target {knowledge_folder}/intake/clippings/{slug}.md (slug from title; append -2/-3 until unique). Write:
---
source: [URL or "manual"]
date: YYYY-MM-DD
tags: [user-provided tags, or auto-detected from index.md, or empty array]
---
# [Title or first line of text]
[Summary for URLs, full text for snippets]
Tag detection: if the user didn't provide tags, match title/content words against known tags in {knowledge_folder}/index.md (if it exists). Only high-confidence matches — don't guess.
Clipped to intake/clippings/{slug}.md
Tags: [tags or "none"]
Reviewed at the next /audit knowledge run (Step 2f).
Exit after C3.
Pull a chat/email thread via a ~~chat (Slack/Teams) or ~~email (Gmail/MS365) MCP into one clipping. Runs T1–T3 and exits. (This mode absorbs the former standalone thread-capture skill, retired v2.33.0.)
If no ~~chat/~~email MCP is connected/authenticated, surface:
"
threadmode needs a chat or email MCP connected. These are bundled with the plugin — run the MCP's authenticate flow (e.g. Slack auth), or connect it via your MCP config, then retry. (This is NOT Cowork-only — thread mode runs in Claude Code once the MCP is authed.)"
Then exit. Do NOT redirect to Cowork — the capability is Code-native once the MCP is authenticated. (The ADR-094 Bash-availability runtime gate is separate and only fires on a genuine runtime mismatch, not on an unauthenticated MCP.)
Fetch thread content + metadata (participants, timestamps, channel/subject) via the connected MCP.
Write to {knowledge_folder}/intake/clippings/{slug}.md with the same frontmatter shape as C2 (source = thread URL/id; body = thread metadata + messages). Confirm as in C3.
Exit after T3.
The user provides one or more sources as arguments. Each source can be:
./docs/architecture.md, proj-b/CLAUDE.md).md files recursively (e.g., ./docs/, proj-b/)proj-b/**/*.md, ./notes/*.txt)https://docs.example.com/api)For each source:
Limits:
If no argument is provided, ask: "What would you like to intake? Provide a file path, directory, glob pattern, or URL."
For each source file or URL:
For directories, process files in alphabetical order.
For multi-file sources (directory or glob), issue Read calls for all files in a single parallel tool-use block. Content scanning in Step 3 runs in the main thread after reads complete. Exception: URL sources are fetched individually via WebFetch since each request is a network operation.
Review each source for the same five categories as /extract:
Be selective — not every paragraph is knowledge. Focus on content that would help future sessions: patterns, decisions, constraints, and non-obvious information. Skip boilerplate, auto-generated content, and implementation details that are better found by reading the code directly.
Issue Read calls for the three backlog files AND {knowledge_folder} scan targets in a single parallel tool-use block. Dedup comparison runs in the main thread after reads complete.
For each finding, check against:
{knowledge_folder}/intake/insights-backlog.md{knowledge_folder}/intake/decisions-backlog.md{knowledge_folder}/intake/extraction-backlog.md{knowledge_folder}/Skip anything already captured. Note skipped items in the preview.
Present all findings grouped by category before staging anything:
## Intake Preview
**Sources scanned:** N files from [path/URL summary]
**Findings:** N items (N insights, N decisions, N feedback, N project, N references)
**Skipped:** N duplicates
### Insights (N)
1. [brief description] — from [source file]
2. [brief description] — from [source file]
### Decisions (N)
1. [brief description] — from [source file]
### Feedback / Conventions (N)
1. [brief description] — from [source file]
### Project Context (N)
1. [brief description] — from [source file]
### References (N)
1. [brief description] — from [source file]
Stage all to backlogs? (all / numbers to exclude / none)
Based on user response:
Route each approved item to the appropriate backlog file using the same format as /extract:
{knowledge_folder}/intake/insights-backlog.md### YYYY-MM-DD — [project or "intake"] — Imported from [source filename]
- Insight bullet 1
- Insight bullet 2
{knowledge_folder}/intake/decisions-backlog.md### YYYY-MM-DD — [project or "intake"] — Imported from [source filename]
**Decision:** What was decided
**Why:** Rationale (if documented in source)
**Alternatives considered:** (if documented in source, otherwise omit)
{knowledge_folder}/intake/extraction-backlog.md### YYYY-MM-DD — [type: feedback|project|reference] — Imported from [source filename]
**Content:** What was captured
**Source:** [file path or URL]
## Intake Complete
- **Sources:** N files scanned
- **Insights:** N staged
- **Decisions:** N staged
- **Feedback:** N staged
- **Project context:** N staged
- **References:** N staged
- **Skipped:** N duplicates, N excluded by user
Knowledge staged in backlogs for next /audit knowledge to review and promote.
/extract, intake operates on content the user may not have reviewed. Show findings first. Applies to both bulk mode (Step 5 preview) and doc mode (Step D4 preview).source_url, source_title, source_author (when known) in frontmatter.proj-b/, proj-a/, proj-c/), tag the entries with that project. Otherwise use "intake" or "cross". Same rule for both modes.intake/docs/ is created on first doc-mode capture, not bootstrapped on /setup. Doesn't exist until needed.{date}-{slug}.md already exists, append -2, -3, etc. Don't overwrite. The audit process will dedup if the captures are about the same doc.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mikeprasad/aria-knowledge --plugin aria-knowledge40 skills in this plugin
/aria-assistMorning product-management review across all your projects. Use when the user runs /aria-assist, asks for a morning review / daily PM digest / "what should I do today across my products", or when the launchd job fires it headless. Two modes - `generate` (headless: read facts, deep-review ACTIVE projects, apply logged light writes, write the dated digest + per-project PM-REVIEW.md) and `review` (interactive: load today's digest, walk proposals, execute approved ones). Roster comes from projects_list; settings from pm_* keys in aria-knowledge.local.md. (Claude Code variant — full scheduler path. Other ports run manual-only generate/review.)/ask/ask — Query-Driven Knowledge CreationResearch a question, check existing knowledge first, draft a knowledge doc from the answer, and save directly to the appropriate category. Use when user says '/ask', 'ask about', 'research and save', 'I want to learn about', 'what is the pattern for'. Skips backlogs — the user reviews the answer in real-time before saving. (Code port — ADR-094.)/audit/audit — Audit Family DispatcherUmbrella for the audit family — the canonical way to run every sub-audit: '/audit knowledge' (scan memory and plans for extractable knowledge, backlog-to-promotion review), '/audit config' (CLAUDE.md/settings/docs drift and staleness), '/audit style' (mine session-log history for revealed working-style rules), '/audit usage' (value/ROI report over your own corpus), '/audit rules' (mine your distilled corrections for promotable standing rules), or '/audit share' (batch-review personal knowledge for promotion to the team-shared tier). Trigger: '/audit', 'run an audit', 'knowledge audit', 'config audit', 'audit my style', 'audit my rules', 'usage report', 'share knowledge', 'promote to team'.Other plugins' skills for the same job