Generate a Markdown File

VerifiedSafe

Generate a markdown file from the current conversation context based on a short directive.

Sby Skills Guide Bot
ProductivityBeginner
7/24/2026
Claude Code
#markdown#conversation-capture#note-taking#reporting#tickets

Recommended for

Automated summary

Generates a timestamped markdown file in local/ from the current conversation context, shaping its structure around a short directive (ticket, findings, runbook, etc.).

Strengths

  • Infers the format and structure from a short directive such as "jira ticket" or "latest findings"
  • Reuses the technical details already present in the conversation instead of asking the user to re-explain
  • Names and timestamps files consistently via `date`, with a kebab-case descriptor taken from the topic
  • Applies a secret-handling rule (replace values with <REDACTED>) before writing

Limitations

  • Restricted to one-off artifacts in local/: unsuitable for project documentation (README, docs/, ADRs) or a specific repo path
  • Output quality depends entirely on the conversation; on a multi-topic thread the chosen scope may not match expectations
  • No automatic fact-checking of the content distilled from the conversation
When to use it

Use it right after a working session to quickly capture decisions, findings, or changes in a paste-ready markdown file.

When not to use it

Avoid it for creating or editing a repository's official documentation or any file that must live at a precise project location.

Security analysis

Safe
Quality score86/100

The skill only instructs the agent to read the existing conversation, compose a markdown document, and write it into a new file under `<launch-root>/local/` using the Write tool plus benign shell calls (`date`, `mkdir -p`, `git check-ignore`). There is no network access, no deletion or overwriting (collisions get `-2` suffixes), no obfuscation, and no disabling of safety behavior; it explicitly requires redacting secret values instead of copying them into output. The only mild consideration is that it writes files and runs a few read-only shell commands, which is inherent to its stated purpose and scoped to a local artifact directory.

No concerns found

How this analysis is made

Examples

Ticket from a debugging session
/mdthis jira ticket for the QuestDB WAL write failure we just tracked down
Findings summary
/mdthis latest findings on the auth refactor
PR description
/mdthis pr description covering the changes in this session

name: mdthis description: Generate a markdown file from the current conversation context based on a short directive. Use when the user wants to capture discussion, findings, changes, or decisions as a markdown document. Not for writing or editing project documentation (README, docs/, ADRs) or any file the user wants at a specific repo path — mdthis only produces one-off timestamped artifacts in local/, distilled from the conversation. argument-hint: <what to write, e.g. "jira ticket", "PR comment", "latest findings">

mdthis — Conversation-to-Markdown Skill

You have full access to the current conversation context. The user wants you to produce a markdown file based on everything discussed so far, shaped by their directive.

Directive

$ARGUMENTS

Instructions

  1. Infer the format from the directive. Match the tone, structure, and conventions of the implied document type:

    • "jira ticket" / "ticket" → Title, Description, Acceptance Criteria, Technical Notes
    • "PR comment" / "PR description" → Summary, Changes, Test Plan
    • "latest findings" / "findings" → structured summary of discoveries, conclusions, open questions
    • "outline" / "summary" → hierarchical overview of what was discussed
    • "runbook" / "playbook" → step-by-step operational instructions
    • "bug report" → Steps to Reproduce, Expected vs Actual, Root Cause, Fix
    • "meeting notes" / "status update" → agenda items, decisions, action items
    • "doc" / "documentation" → technical documentation for the topic discussed
    • Anything else → use your best judgment to match the intent
  2. Pull content from the conversation. Do NOT ask the user to re-explain. Everything you need is in the conversation history. Focus on:

    • Key decisions and their rationale
    • Technical details, code changes, file paths
    • Problems identified and solutions applied
    • Open questions or next steps
  3. Write the file. Use the Write tool to save the markdown file.

    • Filename: YYYY-MM-DD-HHMMSS-<descriptor>.md. Get the timestamp from the shell — run date +%Y-%m-%d-%H%M%S — never guess it from context. Descriptor = format word plus the topic, kebab-case, ≤6 tokens; take the topic from the directive if it names one, otherwise from the conversation's dominant/most-recent thread (e.g. 2026-03-02-231500-questdb-wal-findings.md, 2026-03-02-231500-auth-refactor-pr.md).
    • Location: Always write to local/ at the root of where Claude was launched in (see Prerequisites & Output).
  4. Tell the user the filename and a one-line summary of what you wrote. Keep it brief.

Quality Rules

  • Be concise. Match the density the format calls for — a Jira ticket is tighter than a findings doc. Paste-destination formats (tickets, PR comments) should be paste-ready: roughly 40 lines or fewer.
  • Never copy secret values (credentials, tokens, API keys, connection strings, private keys) from the conversation into the file; replace each with <REDACTED> or a reference to where it lives (e.g. ~/.claude/jira.env). Query results and technical details are fine — redact secret values only.
  • Use the conversation's actual technical details, not generic placeholders.
  • Do not pad with boilerplate or filler sections.
  • If the directive is ambiguous about scope (e.g., "latest findings" but there were many topics), focus on the most recent/primary thread of discussion.
  • Do not include meta-commentary about the skill itself in the output file.

Directive Patterns

  • (empty) — If the directive is blank, treat it as bare summary: apply the scoping rules below, use summary as the filename descriptor, and state the chosen scope in the document's intro.
  • Bare format name (findings, doc, runbook, ticket, notes) — scope to the conversation's substantive content. If there's a single dominant topic, use it. If the conversation is multi-topic, scope to the last 3-5 exchanges and state the scope choice in the document's intro — e.g. "Scoped to the most recent thread: database migration. Re-run with findings on auth refactor for the earlier one."
  • Qualified directive (format word + topic phrase, e.g. findings on cache layer, PR description for auth refactor) — scope to the subset of the conversation that discusses the named topic; ignore unrelated tangents even if they were the most recent exchanges.

Prerequisites & Output

  • Output dir = <launch-root>/local/. Determine the launch-root from the session context: in Claude Code it is stated verbatim in the <env> block as "Working directory" — use that value. If no such env info exists, fall back to the nearest ancestor of the current cwd containing .git/ and write to <that>/local/. Report the resolved absolute path in your reply.
  • Create local/ (mkdir -p) if it's missing. On filename collision, append -2, -3, … to the descriptor until the name is free; never overwrite.
  • If the launch-root is a git repo and git check-ignore -q local fails, note in your one-line reply that local/ is not gitignored so the user can decide.

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 files

This 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.md

From the root of a test project, save the file as .skill-downloads/generate-a-markdown-file-mryiqhbt/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/generate-a-markdown-file-mryiqhbt' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/generate-a-markdown-file-mryiqhbt/download' --output '.skill-downloads/generate-a-markdown-file-mryiqhbt/SKILL.md.part' && mv '.skill-downloads/generate-a-markdown-file-mryiqhbt/SKILL.md.part' '.skill-downloads/generate-a-markdown-file-mryiqhbt/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

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/generate-a-markdown-file-mryiqhbt/SKILL.md' && test -s '.skill-downloads/generate-a-markdown-file-mryiqhbt/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/mdthis' && cp -R '.skill-downloads/generate-a-markdown-file-mryiqhbt' '.claude/skills/mdthis'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/generate-a-markdown-file-mryiqhbt'

openskills read 'generate-a-markdown-file-mryiqhbt'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

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/generate-a-markdown-file-mryiqhbt/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.

Related skills