원클릭으로
second-brain-import-md
Accept pasted markdown content directly and write it as a raw source file into raw/, ready for ingestion.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Accept pasted markdown content directly and write it as a raw source file into raw/, ready for ingestion.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Read new or changed files in raw/, synthesise content into wiki/ topic articles, rebuild INDEX.md, and update the ingest manifest.
Extract text from a PDF, convert it to markdown, and write the result into raw/pdf/, ready for ingestion.
Initialize or update the Second Brain vault — creates folder structure, declares interests, configures Craft import scope, and generates CLAUDE.md.
Scan wiki/ for quality issues — contradictions, unsupported claims, and content gaps — and save a structured report to outputs/.
Continue an existing conversation thread by re-reading the wiki and appending a follow-up answer to the thread file.
Answer a natural-language question by synthesising content from wiki/, and save the response to outputs/.
| name | second-brain-import-md |
| description | Accept pasted markdown content directly and write it as a raw source file into raw/, ready for ingestion. |
| argument-hint | ["Optional Title"] <markdown content> |
| user-invocable | true |
Accepts pasted markdown content directly and writes it as a raw source file into raw/, ready for ingestion. Use this when you have content from any source (a web article, a copied document, notes, a transcript, an email) and want to get it into the knowledge base without exporting a file first.
/second-brain-import-md [markdown content]
/second-brain-import-md "Optional Title" [markdown content]
| Argument | Required | Description |
|---|---|---|
[markdown content] | Yes | The markdown text to store. Can be any length. |
"Optional Title" | No | A quoted title at the start overrides the auto-derived slug. |
If invoked with no content at all, ask: "Please paste the markdown content you'd like to add."
Check whether the first token of the argument is a quoted string (starts and ends with "). If so, treat it as a title override and the remainder as the content body.
Otherwise, treat the entire argument as the content body and derive the title automatically (Step 3).
If the content body is empty or only whitespace, report:
Error: No content provided. Please paste the markdown you'd like to add.
and stop. Write nothing.
If a title override was provided: use it directly.
Otherwise, derive the title from the content:
# Heading in the content — use that as the title if found.Generate the slug from the title:
Scan the content body for signals about when the content was originally created or published. Look for:
PUBLISHED JAN 15 2026, Date: 2026-01-15, Updated: May 2026, March 2026, etc.# Q1 2026 Review, ## June 2026 MBRIf a date is found, convert it to YYYY-MM-DD format (use the 1st of the month when only month/year is available, e.g. May 2026 → 2026-05-01). Set content_date to this value.
If no date is found, leave content_date blank — do not guess.
raw/YYYY-MM-DD_<slug>.md
Where YYYY-MM-DD is today's date.
If a file at that exact path already exists, append a counter: raw/YYYY-MM-DD_<slug>-2.md, etc.
Write the file with a minimal front-matter header followed by the content as-is:
---
source: pasted
imported: YYYY-MM-DD
title: <Derived or provided title>
content_date: YYYY-MM-DD # omit this line entirely if no date was detected
---
<content body>
imported is always today's date (when the file was added to the vault)content_date is the detected original creation/publication date of the content — omit the field if not foundReport:
✓ Markdown added
Title: <title>
Output: raw/<filename>
Size: ~N words
Content date: <YYYY-MM-DD if detected, otherwise "not detected">
Next step: run /second-brain-ingest to incorporate into the wiki
raw/ (never raw/craft/, raw/pdf/, wiki/, or outputs/)| Condition | Behaviour |
|---|---|
| No content provided | Ask user to paste content; write nothing |
| Content is only whitespace | Report error; write nothing |
| File collision (same slug same day) | Append -2, -3, etc. to filename |