Agent skill

Qmd Knowledge

by jellydn in jellydn/my-ai-tools

Manage project knowledge with qmd — captures learnings, decisions, and conventions

MITAuto-check passedAgent Workflows

Install Qmd Knowledge

skills CLI
$ npx skills add jellydn/my-ai-tools --skill qmd-knowledge -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jellydn/my-ai-tools qmd-knowledge --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jellydn/my-ai-tools.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/qmd-knowledge .claude/skills/qmd-knowledge && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
qmd-knowledge
GitHub stars
123
Token cost
~2.1k tokens
SKILL.md length
675 words
Files
4 (incl. scripts, references)
Skills in repo
33
Repo updated
First seen
Licence
MIT

At a glance

Manage project knowledge with qmd — captures learnings, decisions, and conventions

  • Works in 4 steps: Install qmd → Install the skill → Configure MCP server (see installation… → …
  • Agent Workflows work in your project
  • SKILL.md covers What I do, When to use me, How it works and Available scripts, plus 6 more sections
  • Runs Shell scripts from its folder; calls bun; reaches github.com

What it does

Qmd Knowledge is an agent skill from jellydn/my-ai-tools. Manage project knowledge with qmd — captures learnings, decisions, and conventions

Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including scripts and reference files (for example `references/issues/README.md`, `references/learnings/README.md` and `scripts/record.sh`). Compatibility notes: cline, opencode, claude, amp, codex, gemini, cursor, pi

It sits in Agent Workflows. It works with Model Context Protocol. The repository describes itself as: Comprehensive configuration management for AI coding tools - Replicate my complete setup for Claude Code, OpenCode, Amp, Li, Codex and Claude Code Switch with custom… The licence is MIT.

When your agent uses it

  • Agent Workflows work in your project

Example prompts

  • “/qmd-knowledge”

Requirements

  • Node.js
  • A Bash shell
  • Compatibility (from SKILL.md): cline, opencode, claude, amp, codex, gemini, cursor, pi

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Install qmd
  2. Install the skill
  3. Configure MCP server (see installation docs for Claude/OpenCode/Amp)
  4. Create a knowledge collection for your project

What it can do on your machine

Read from SKILL.md and the folder at commit 7a06584. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • bun

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    cline, opencode, claude, amp, codex, gemini, cursor, pi

    From compatibility in the SKILL.md frontmatter.

Context cost

Qmd Knowledge loads about 2.1k tokens when it runs, and up to ~2.5k if it reads all its reference files. Until then it costs about 24 tokens; SKILL.md has 675 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~24
When it runs · the whole SKILL.md, loaded when a task matches
~2.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from jellydn/my-ai-tools at commit 7a06584, republished under its MIT licence (© jellydn). 675 words, ~2,150 tokens.

Download SKILL.mdSave it as .claude/skills/qmd-knowledge/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
qmd-knowledge
description
Manage project knowledge with qmd — captures learnings, decisions, and conventions
compatibility
cline, opencode, claude, amp, codex, gemini, cursor, pi
license
MIT
hint
Use when recording or retrieving project knowledge, learnings, and issue notes
user-invocable
true
metadata.audience
all
metadata.workflow
knowledge-management

QMD Knowledge

What I do

  • Record and retrieve project learnings and insights
  • Capture issue-specific notes and resolutions
  • Build a growing, AI-searchable knowledge base
  • Provide context about project architecture and decisions

When to use me

Use this skill when you need to:

  • Record learnings: Capture new insights, patterns, or best practices discovered during development
  • Track issues: Add notes to ongoing or resolved issues
  • Query knowledge: Search for previous decisions, learnings, or solutions
  • Maintain context: Build institutional memory for the project

How it works

This skill provides a unified knowledge management system. You install the skill once, and it manages knowledge across all your projects using qmd collections:

# The qmd-knowledge skill (installed to your AI tool's skills directory)
# Location varies by tool: $HOME/.config/opencode/skills/, $HOME/.claude/skills/, or $HOME/.config/amp/skills/
├── SKILL.md              # This file - the skill definition
├── scripts/              # Executable scripts
│   └── record.sh         # Record learnings/issues/notes
└── references/           # Example structure and READMEs

# Project knowledge storage (managed by the skill)
~/.ai-knowledges/
├── <project-name>/       # Collection for your project
│   ├── learnings/
│   └── issues/
└── another-project/      # Collection for another project
    ├── learnings/
    └── issues/

The qmd MCP server provides AI-powered search across all stored knowledge, allowing your AI assistant to autonomously query and update the knowledge base.

Available scripts

Recording knowledge

Important: Before recording knowledge, ensure qmd is installed and your project collection is set up. Run a preflight check:

bash
# Verify qmd is installed
command -v qmd || echo "Install qmd: bun install -g @tobilu/qmd"

# Verify your project collection exists (replace my-project with your actual project name)
qmd collection list | grep my-project
bash
# Record a learning (use the skill's script)
$SKILL_PATH/scripts/record.sh learning "qmd MCP integration"

# Add a note to an issue
$SKILL_PATH/scripts/record.sh issue 123 "Fixed by updating dependencies"

# Record a general note
$SKILL_PATH/scripts/record.sh note "Consider using agent skills for extensibility"

After recording:

  • The record.sh script automatically runs qmd embed to re-index the knowledge base
  • This embedding step is required to make newly added content searchable for the next query
  • If auto-embedding fails or you manually add/edit files, run qmd embed explicitly to update the index
Querying knowledge

Use the qmd MCP server tools directly from Claude or OpenCode:

bash
# Fast keyword search
qmd search "MCP servers" -c <project-name>

# Semantic search with AI embeddings
qmd vsearch "how to configure MCP"

# Hybrid search with reranking (best quality)
qmd query "MCP server configuration"

# Get specific document
qmd get "references/learnings/2024-01-26-qmd-integration.md"

# Search with minimum score filter
qmd search "API" --all --files --min-score 0.3 -c <project-name>

Setup

Preflight check: Before starting, verify you have the required tools:

bash
# Check for bun or node
command -v bun || command -v node || echo "Install bun or node.js first"

# Verify git is available (for project detection)
command -v git || echo "Install git for automatic project name detection"
  1. Install qmd:

    bash
    bun install -g @tobilu/qmd
  2. Install the skill:

    bash
    # The skill is installed to your AI tool's skills directory:
    # - OpenCode: $HOME/.config/opencode/skills/qmd-knowledge/
    # - Claude Code: $HOME/.claude/skills/qmd-knowledge/
    # - Amp: $HOME/.config/amp/skills/qmd-knowledge/
  3. Configure MCP server (see installation docs for Claude/OpenCode/Amp)

  4. Create a knowledge collection for your project:

    bash
    # The skill's record.sh script will auto-detect the project name when executed.
    # For manual setup, use your desired project name consistently in the commands below.
    # Optional: export QMD_PROJECT=<project-name> to override auto-detection
    
    # Create storage directory for your project (replace <project-name> with your project)
    mkdir -p ~/.ai-knowledges/<project-name>/learnings
    mkdir -p ~/.ai-knowledges/<project-name>/issues
    
    # Add qmd collection
    qmd collection add ~/.ai-knowledges/<project-name> --name <project-name>
    qmd context add qmd://<project-name> "Knowledge base for <project-name> project: learnings, issue notes, and conventions"
    
    # Generate embeddings for AI-powered search
    qmd embed

Knowledge structure

  • references/learnings/: Time-stamped markdown files with project insights

    • Format: YYYY-MM-DD-topic-slug.md
    • Contains learnings, patterns, architectural decisions
  • references/issues/: Issue-specific notes and resolutions

    • Format: <issue-id>.md
    • Append-only log of notes related to specific issues

Integration with qmd MCP server

The qmd MCP server allows Claude to:

  • Search knowledge: Use natural language queries to find relevant context
  • Auto-update index: Automatically reindex after adding new knowledge
  • Filter by project: Use --collection flag to scope searches to specific projects

Example workflow

  1. During development, you discover something useful:

    "I learned that qmd MCP server allows Claude to use tools autonomously."

  2. Claude recognizes the skill and executes:

    bash
    $SKILL_PATH/scripts/record.sh learning "qmd MCP autonomous tool use"
  3. Later, you ask:

    "What did I learn about MCP servers?"

  4. Claude queries the knowledge base using qmd MCP tools:

    bash
    qmd query --collection <project-name> "MCP servers"
Show full SKILL.md (311 more words)Show less

Project detection

The skill automatically detects your project name using the following priority:

  1. QMD_PROJECT environment variable (highest priority)

    bash
    export QMD_PROJECT=my-project-name
  2. Git remote URL (most reliable - extracts repo name from origin URL)

    • Example: https://github.com/user/my-project.git → my-project
    • Works even if the local folder has a different name
  3. Git repository folder name (fallback)

    • Uses the name of the git repository root directory
    • Works when you're anywhere inside a git repository
    • Note: May not match the actual repo name if the folder was renamed
  4. Current directory name (last resort)

    • Uses the name of your current working directory
    • Used when not in a git repository

This means you can use the skill in any project without hardcoding project names. The knowledge base will be stored at ~/.ai-knowledges/<detected-project-name>/.

Important: The script prioritizes the git remote URL to ensure consistent project naming even if local folders are renamed or in non-standard locations (e.g., dated folders like 2026-01-08-my-ai-tools.qmd-skill).

📋 Best Practices

🎨 Session Wrap-up

At the end of a work session, consider prompting the user about key learnings:

"What were the main discoveries or decisions from this session? Would you like me to record any learnings?"

🎨 Pattern Detection

Be attentive to phrases that indicate valuable knowledge capture opportunities:

  • "I discovered that..."
  • "I learned that..."
  • "The solution was..."
  • "The key insight is..."
  • "Don't forget to..."
  • "Make sure to..."

When you detect these patterns, suggest recording:

"That sounds like a useful learning. Would you like me to record it?"

🎨 Auto-Index Updates

The record script automatically runs qmd embed after each write, ensuring the knowledge base is searchable immediately. This re-indexing step is required to make new content available for search queries.

Important: If you manually create or edit knowledge files (outside of the record script), you must run qmd embed manually to update the search index:

bash
# Manual re-indexing after direct file edits
qmd embed

Without re-indexing, newly added or modified content will not appear in search results.

© jellydn, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (scripts, references) in skills/qmd-knowledge of jellydn/my-ai-tools.

  • SKILL.md
  • references/issues/README.md
  • references/learnings/README.md
  • scripts/record.sh

Open the folder on GitHubat commit 7a06584

Compare with similar skills

Qmd Knowledge next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Qmd Knowledge compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Qmd Knowledge this skilljellydn/my-ai-tools123—~2.1kAutomated safety check: PassMIT
MCP Server Builderanthropics/skills180k64 repos~2.3kAutomated safety check: PassApache-2.0
MCP Server BuildershareAI-lab/learn-claude-code78k5 repos~1.2kAutomated safety check: PassMIT
MCP Integration for Pluginsanthropics/claude-plugins-official38k11 repos~3.1kAutomated safety check: PassApache-2.0
Fastmcp Client CLIPrefectHQ/fastmcp28k1 repos~823Automated safety check: PassApache-2.0
MemPalace Memory SearchMemPalace/mempalace59k—~1.4kAutomated safety check: PassMIT

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 64 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • MCP Server Builder

    shareAI-lab/learn-claude-code

    Walks through building MCP servers in Python or TypeScript that expose tools, resources and prompts to Claude, with templates, registration and testing.

    78k GitHub starsUsed in 5 repos~1.2k tokens
    Agent WorkflowsAuto-check passed
  • MCP Integration for Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to bundle Model Context Protocol servers in a Claude Code plugin, covering config files, stdio, SSE, HTTP and WebSocket server types, and authentication.

    38k GitHub starsUsed in 11 repos~3.1k tokens
    Agent WorkflowsAuto-check passed
  • Fastmcp Client CLI

    PrefectHQ/fastmcp

    Query and invoke tools on MCP servers using fastmcp list and fastmcp call.

    28k GitHub starsUsed in 1 repo~823 tokens
    Agent WorkflowsAuto-check passed
  • MemPalace Memory Search

    MemPalace/mempalace

    Mines project files and conversation exports into a local, searchable memory palace and recalls past work by semantic search through the mempalace CLI.

    59k GitHub stars~1.4k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Crush Configuration

    charmbracelet/crush

    Explains how to configure the Crush coding agent with crushrc or crush.json, covering providers, models, LSPs, MCP servers, hooks, permissions and config precedence.

    29k GitHub stars~3.7k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed

More from jellydn/my-ai-tools

All 33 skills in this repo
  • Babysit PR

    jellydn/my-ai-tools

    A skill your agent uses when monitoring an open GitHub PR for CI failures, review feedback, mergeability, and safe retries or fixes.

    123 GitHub stars~4.1k tokensUpdated yesterday
    Auto-check passed
  • Visual PR

    jellydn/my-ai-tools

    Posts a concise visual outline as a GitHub pull request comment.

    123 GitHub stars~764 tokensUpdated yesterday
    Auto-check passed
  • Prd

    jellydn/my-ai-tools

    Generate Product Requirements Documents from feature ideas — plans specs and requirements

    123 GitHub starsUsed in 4 repos~1.8k tokens
    Auto-check passed
  • Capability Experiments

    jellydn/my-ai-tools

    Build an interactive report or experiment when the user asks to explore model capabilities.

    123 GitHub stars~2k tokensUpdated yesterday
    Auto-check passed
  • PR Review

    jellydn/my-ai-tools

    Fix PR review comments by implementing requested changes. An agent skill from jellydn/my-ai-tools.

    123 GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Ralph

    jellydn/my-ai-tools

    Convert PRDs to prd.json format for the Ralph autonomous agent system

    123 GitHub starsUsed in 3 repos~1.8k tokens
    Auto-check passed

Categories

Questions about Qmd Knowledge

What does Qmd Knowledge do?

Manage project knowledge with qmd — captures learnings, decisions, and conventions. Qmd Knowledge is an agent skill from jellydn/my-ai-tools.

When should I use Qmd Knowledge?

Qmd Knowledge fits situations like: agent Workflows work in your project.

How do I install Qmd Knowledge in Claude Code?

Run `npx skills add jellydn/my-ai-tools --skill qmd-knowledge -a claude-code`. Or copy the skill folder (skills/qmd-knowledge in jellydn/my-ai-tools) into .claude/skills/qmd-knowledge in your project. Claude Code loads it when a task matches its description.

How do I install Qmd Knowledge in Codex?

Run `npx skills add jellydn/my-ai-tools --skill qmd-knowledge -a codex`. Or copy the skill folder (skills/qmd-knowledge in jellydn/my-ai-tools) into .agents/skills/qmd-knowledge in your project. Codex loads it when a task matches its description.

Can I use Qmd Knowledge in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jellydn/my-ai-tools --skill qmd-knowledge -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/qmd-knowledge, .gemini/skills/qmd-knowledge, .github/skills/qmd-knowledge and .opencode/skills/qmd-knowledge in your project.

What does Qmd Knowledge need to run?

Going by SKILL.md and its folder, Qmd Knowledge needs a shell for the scripts in its folder and the command-line tools its instructions call (bun). Our summary lists: Node.js; A Bash shell. Compatibility (from SKILL.md): cline, opencode, claude, amp, codex, gemini, cursor, pi.

Does Qmd Knowledge access the network?

SKILL.md names 1 domain. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Qmd Knowledge safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Qmd Knowledge use?

Qmd Knowledge is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Qmd Knowledge use?

About 2.1k tokens (SKILL.md is roughly 8.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 334 tokens, read only when the agent opens those files.

What are the alternatives to Qmd Knowledge?

Skills that share tags, products or a category with Qmd Knowledge: MCP Server Builder (anthropics/skills, 180k stars), MCP Server Builder (shareAI-lab/learn-claude-code, 78k stars), MCP Integration for Plugins (anthropics/claude-plugins-official, 38k stars) and Fastmcp Client CLI (PrefectHQ/fastmcp, 28k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Qmd Knowledge?

jellydn (a GitHub user) maintains it in jellydn/my-ai-tools, which has 123 GitHub stars. The repository holds 33 skills in this directory. The repository was last updated on October 8, 2026.

Source: jellydn/my-ai-tools on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.