当前位置: 首页 > Skill >

Wikimind Skill

Wikimind Skill

Wikimind Skill

Ingest articles, docs, notes, and web pages into your local LLM-WikiMind knowledge base (Karpathy's LLM Wiki pattern). Triggers: add to knowledge base, inges...

1.1.0 2026.11.26 565
获取Skill文件查看使用说明
作 者:林知 许可证: 更新时间:2026.11.26
本文目录展开

wiki-ingest Skill

Ingest content into your local LLM-WikiMind knowledge base — a production implementation of Karpathy's LLM Wiki pattern.

Prerequisites

  1. LLM-WikiMind installed — see setup guide
  2. wiki-kb MCP server registered in CatDesk/OpenClaw
  3. qmd installed: pip3 install qmd

Trigger phrases

  • "Add this to my knowledge base"
  • "Ingest this article"
  • "Save to wiki" / "Write to knowledge base"
  • "Store this note"
  • wiki_ingest
  • 加到知识库 / 写入知识库 / 保存到 wiki / 记录到知识库 / 把这个存起来

Workflow

Step 1: Read global schema

cat "$WIKIMIND_ROOT/CLAUDE.md"

Step 2: Classify the content

Type Directory When to use
concept concepts/ Explaining a concept, pattern, or mechanism
entity entities/ Describing an API object or class
comparison comparisons/ Comparing two approaches
source-summary sources/ Summarizing an article or doc

Step 3: Identify the domain

  • Use an existing domain (check CLAUDE.md for the list)
  • Or create a new one: make a directory + DOMAIN.md with keywords frontmatter

Step 4: Write the page

Preferred — use the MCP tool (if wiki-kb server is loaded):

wiki_ingest_note(
  title="Page Title",
  content="# Page TitlennContent here...",
  domain="my-domain",
  page_type="concept",
  source="https://example.com",
  summary="One-line summary",
  tags=["tag1", "tag2"]
)

Fallback — write the file directly:

---
title: "Page Title"
type: concept
domain: my-domain
source: "https://example.com"
summary: "One-line summary (<=150 chars)"
tags: ["tag1"]
related: []
created: YYYY-MM-DD
updated: YYYY-MM-DD
confidence: medium
---

# Page Title

Content here.

Save to: $WIKIMIND_ROOT/<domain>/concepts/page-title.md

Step 5: Update the search index

cd "$WIKIMIND_ROOT" && qmd update

Step 6: Append to log

echo "## [$(date +%Y-%m-%d)] ingest | Page Title | domain" >> "$WIKIMIND_ROOT/<domain>/log.md"

Quality Standards

concept pages must include: definition, motivation, code example, common pitfalls, related links

entity pages must include: description, key properties with types, key methods with signatures, usage example, gotchas

comparison pages must include: comparison table, when to use each, migration notes

source-summary pages must include: original URL, key takeaways (3-7 points), what this adds vs existing knowledge

Notes

  • Never write into refs/ — that's for bulk-imported raw docs
  • confidence: high for official docs, medium for your summaries, low for speculation
  • After writing, tell the user the file path and a good search query to find it

推荐文章

更多
PHP时间戳与日期字符串相互转换方法详解

本文介绍PHP中时间数值(Unix时间戳)与日期字符串之间的相互转换方法。通过strtotime和date函数,实现将当前时间、指定日期转换为时间戳,以及将时间戳格式化为可读的日期时间字符串,并提供相关在线计算工具推荐。

2025.11.30 1,034
PHP日期转时间戳时区偏差怎么解决

在 PHP 中将日期字符串转换为时间戳时,若未显式指定时区,默认使用脚本配置的 date.timezone 或系统时区。当服务器时区与业务逻辑预期(如 UTC )不一致时,会产生偏差。解决核心是确保输入字符串携带明确时区信息,或在转换前统一设置时区上下文。

2026.10.24 1,031
PHP跨域配置:怎么安全地允许指定域名而非使用通配符

在 PHP 中安全地允许指定域名跨域,核心是解析请求头中的 Origin ,验证其是否在白名单内,然后动态设置 Access-Control-Allow-Origin 响应头。不要使用通配符 * ,也不要硬编码单一域名。

2025.03.29 1,019
JavaScript中利用replace结合正则实现replaceAll效果

JavaScript原生仅支持replace()进行单次或全局替换,缺乏类似Java的replaceAll()便捷方法。本文总结四种在JS中实现全量替换的方案:使用带g标志的正则、带gm标志的正则、扩展String原型以及split后join。通过对比代码示例,展示各方法的实现细节与适用场景,帮助开发者根据需求选择最优解。

2025.04.29 1,017
PHP实现基础文件上传:HTML表单与$_FILES处理流程

在 HTML 表单中设置 enctype="multipart/form-data" ,并在 PHP 后端通过 $_FILES 数组接收文件,调用 move_uploaded_file() 将临时文件移动到目标目录即可完成上传。

2026.09.07 1,014
OpenAI的Jalapeno芯片未落地,教你分辨300兆瓦算力消息

OpenAI计划在SB Energy租赁的数据中心部署约300兆瓦自研Jalapeno推理芯片,但目前双方仍处于洽谈阶段,交易细节与上线时间表均未公布。本文带你按报道原文核实项目所处阶段,厘清芯片发布、电力功率与实际推理算力的边界,并将融资意向与签约、开工、投运节点分开追踪,避免误将规划容量计入现有算力。

2026.12.02 1,013
Skill 文件
  • SKILL.md
    • wiki-ingest Skill
    • Prerequisites
    • Trigger phrases
    • Workflow
      • Step 1: Read global schema
      • Step 2: Classify the content
      • Step 3: Identify the domain
      • Step 4: Write the page
      • Step 5: Update the search index
      • Step 6: Append to log
    • Quality Standards
    • Notes
  • 项目或源文件

相关 Skill

更多
Ka 式知识管理规范 Ka 式知识管理规范 个人 LLM-Wiki 知识库通用管理规范(v0.2,蒸馏自 Ka 个人 v2 实践)。基于 Karpathy LLM-Wiki 理念,但做了 4 项关键差异化:①首次使用三问引导(路径/规则/范围),避免硬编码降低门槛;②零依赖单脚本 + 通用路径参数(--root / KB_ROOT),适配 OB/Logseq/VSCode 任何 KB;③通用敏感文件保护(不绑定具体文件名);④5 个标准命令(/lint /compile /query /ingest /health),命令协议化。提供 4 大工作流(Ingest/Compile/Query/Lint)+ 6 大红线 + 4 段式 wiki 模板 + 错误码体系 lint(E001-E009/W001-W009/I001-I009),4 项检查(根目录残留/死链/重复/命名规范)。Use when user says '管知识库 / 整理 wiki / 写一条日记 / 导入到 KB / KB 健康检查 / KB lint / 查 KB 里的 X / LLM Wiki / Karpathy Wiki / 第二大脑'。NOT a te
llm-wiki SKILL inspired by Karpathy llm-wiki SKILL inspired by Karpathy 用于 Codex 操作 llm-wiki 知识库:将源文件摄入为 Markdown 维基页面,回答 wiki/index.md 及其链接页面的提问……
石榴姐新媒体运营 石榴姐新媒体运营 全链路新媒体运营技能,覆盖行业分析→竞品分析→账号养号→爆款内容创作→互动钩子设计的完整运营闭环。每步自动写入 llm-wiki 结构化知识库、可选写入 ima 笔记,结合 opencli 浏览器直操控,持续积累可复用的运营知识资产。适用于抖音、视频号、小红书三大平台。 触发场景: - 用户说"帮我做新媒体运营方案" - 用户说"分析竞品账号" - 用户说"帮我养号" / "账号冷启动" - 用户说"帮我写爆款内容" / "二次创作" - 用户说"设计互动钩子" / "提升评论互动" - 用户说"做行业分析报告" - 用户说"监控对标账号" - 用户提供了品牌/产品 PPT,要求制定内容运营策略
智能客服 智能客服 ai-cs 是一个面向企业客服场景的智能客服 Skill,适合接入微信、企业微信、网页客服、飞书或 API 渠道。它会优先基于本地 llm-wiki 知识库回答客户关于产品、价格、使用、安装、故障、订单、发票、售后、退款等问题;当知识库缺失、问题超出业务范围或涉及退款、合同、投诉等高风险场景时,会主动澄清、礼貌引导或转人工处理,避免 AI 编造承诺。适合希望把企业知识库变成稳定、可控、可追溯客服流程的团队使用。
wiki-maintainer wiki-maintainer 维护 llm-wiki 知识库,支持新来源导入、内容查询、健康检查及批量处理,确保信息准确和结构完整。