Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计未展示

qmd-knowledge质量管理知识

Agent Skill

qmd-knowledge 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

832

周安装

34

GitHub Stars

67

下载量

267
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:qmd-knowledge(质量管理知识)
来源仓库:https://github.com/jellydn/my-ai-tools
仓库路径:skills/qmd-knowledge
安装命令:
npx skills add https://github.com/jellydn/my-ai-tools --skill qmd-knowledge
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/jellydn/my-ai-tools --skill qmd-knowledge

简介

用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词、任务场景或来源线索快速定位候选结果。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装。
  • 需确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • qmd-knowledge 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

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: ~/.config/opencode/skill/, ~/.claude/skills/, or ~/.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:

# 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
# 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:

# 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:

# 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: bun install -g @tobilu/qmd
  2. Install the skill: # The skill is installed to your AI tool's skills directory: # - OpenCode: ~/.config/opencode/skill/qmd-knowledge/ # - Claude Code: ~/.claude/skills/qmd-knowledge/ # - Amp: ~/.config/amp/skills/qmd-knowledge/
  3. Configure MCP server (see installation docs for Claude/OpenCode/Amp)
  4. Create a knowledge collection for your project: # 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: $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: qmd query --collection <project-name> "MCP servers"

Project detection

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

  1. QMD_PROJECT environment variable (highest priority) 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.gitmy-project - Works even if the local folder has a different name

  1. 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

  1. 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:

# Manual re-indexing after direct file edits
qmd embed

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

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.3%
按下载量换算97

Claude

28.67%
按下载量换算77

Cursor

20.61%
按下载量换算55

Gemini CLI

9.51%
按下载量换算25

安全审计

暂无安全审计结果可展示。

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills