Automated summary
Creates a new topic file inside the .notes/ directory with structured YAML frontmatter and predefined section headers.
Strengths
- Validates the argument and prints a clear usage message when the topic name is missing
- Normalizes the topic name into a filename (spaces and hyphens become underscores, uppercase, .md extension)
- Detects existing files and points to the update command instead of overwriting a topic
- Generates consistent frontmatter (description, keywords derived from the name, date) plus a reusable section skeleton
Limitations
- Assumes the .notes/ directory and conventions specific to the ccn ecosystem
- The generated file only holds placeholders; no actual content is written
- Manually invoked only, so it never triggers on its own from conversation context
When you want to start a fresh knowledge note in .notes/ with a uniform structure.
When appending entries to an existing topic (use /ccn:update-topic) or when taking notes outside the .notes/ directory.
Security analysis
SafeThe skill performs a single benign directory creation and file write confined to `.notes/`, with no destructive commands, no network access, no secret handling, and no obfuscation. The only theoretical concern is that the topic argument is not sanitized for path separators before being interpolated into the target path, which could allow writing outside `.notes/`, but this requires deliberate malicious invocation and there is no evidence of intent to do so.
- •Uses the Bash tool only for `mkdir -p .notes`, a non-destructive, narrowly scoped operation
- •Writes files only inside the `.notes/` directory of the current project; no network, credential, or exfiltration behavior
- •Arguments are normalized into a filename, but no path-traversal sanitization is specified (e.g., `../` in the topic name would survive the space/hyphen replacement)
Examples
/ccn:create-topic api-design/ccn:create-topic error handling/ccn:create-topic database-migrationsname: ccn:create-topic description: Create a new topic file in .notes/ with frontmatter template disable-model-invocation: true argument-hint: [topic-name]
Create Topic Skill
This skill creates a new topic file in the .notes/ directory with structured frontmatter and section headers.
Instructions for Claude
When this command is invoked with /ccn:create-topic $ARGUMENTS:
Step 1: Validate argument
If $ARGUMENTS is empty or not provided:
- Show error: "Error: Topic name required"
- Show usage: "Usage: /ccn:create-topic <topic-name>"
- STOP - do not continue
Step 2: Normalize topic name to filename
Take the provided topic name and transform it:
- Replace all spaces with underscores
- Replace all hyphens with underscores
- Convert to UPPERCASE
- Add
.mdextension
Examples:
- "api-design" → "API_DESIGN.md"
- "my topic" → "MY_TOPIC.md"
- "error_handling" → "ERROR_HANDLING.md"
Store the result as the filename.
Step 3: Check if file exists
Use the Read tool to check if .notes/{filename} already exists.
-
If the file EXISTS:
- Tell user: "Error: Topic already exists: .notes/{filename}"
- Tell user: "Use /ccn:update-topic to add entries to this topic"
- STOP - do not continue
-
If the file DOES NOT exist:
- Continue to next step
Step 4: Create .notes/ directory if needed
Use the Bash tool to ensure the directory exists:
mkdir -p .notes
Step 5: Generate frontmatter
Create YAML frontmatter with these fields:
-
description: "Knowledge and patterns for {original topic name}"
- Use the original input, not the normalized filename
- Example: input "api-design" → "Knowledge and patterns for api-design"
-
keywords: Generate array from normalized filename
- Split filename (without .md) on underscores
- Lowercase each part
- Include the combined form (full filename without .md, lowercased)
- Example: "API_DESIGN.md" →
["api", "design", "api_design"]
-
last_updated: Today's date in YYYY-MM-DD format
Step 6: Create file with template
Use the Write tool to create .notes/{filename} with this structure:
---
description: "Knowledge and patterns for {topic}"
keywords: [{keyword array}]
last_updated: "YYYY-MM-DD"
---
# {Topic Name}
## Overview
(Add overview content here)
## Key Concepts
(Document key concepts here)
## Patterns
(Capture recurring patterns here)
## Notes
(Add detailed notes here)
---
*Topic created: YYYY-MM-DD*
Important formatting notes:
- Use the original topic name (not normalized) for the H1 heading
- Use proper YAML array syntax for keywords
- Include the footer timestamp at the bottom
Step 7: Confirm completion
Tell the user: "Created: .notes/{filename}"
Error Handling
If any tool fails (mkdir, Read, Write):
- Show the error message
- Explain what went wrong
- Do NOT create partial files
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/create-topic-file-mmlj2p3f/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/create-topic-file-mmlj2p3f' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/create-topic-file-mmlj2p3f/download' --output '.skill-downloads/create-topic-file-mmlj2p3f/SKILL.md.part' && mv '.skill-downloads/create-topic-file-mmlj2p3f/SKILL.md.part' '.skill-downloads/create-topic-file-mmlj2p3f/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
This file does not provide a usable name/description header for this native procedure. It remains available to download and inspect; use the manual method below.
Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/create-topic-file-mmlj2p3f/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
PDF Reader
Productivity
Read and extract text from PDF files, including documents, reports, contracts, and spreadsheets. Works with local files, URLs, and WhatsApp attachments. Use whenever PDF content is needed, even if not explicitly requested.
Discord Messaging Workflows
Productivity
Use the message tool to send, edit, and moderate Discord messages with interactive components.
Interactive Verdict Preview
Productivity
Generate an interactive HTML preview of keep/drop verdicts for maintainer review, then process the pasted feedback JSON.