当前位置: 首页 > Skill >

Karpathy Wiki

Karpathy Wiki

0.1.1 2026.11.23 浏览:969
获取Skill文件查看使用说明
作者:顾知许可证:
本文目录展开

Karpathy Wiki

Maintain a persistent markdown wiki that compiles knowledge over time. Treat raw sources as immutable, treat the wiki as the maintained artifact, and keep structure and conventions consistent so future sessions can continue the work.

Core model

Operate with three layers:

  1. raw sources/ or equivalent input area, read-only source material
  2. wiki/ or equivalent markdown knowledge base, editable compiled knowledge
  3. schema document that defines folder layout, naming, citation style, and workflows

Prefer updating the wiki over answering from scratch. When useful work is produced during analysis or Q&A, file the result back into the wiki as a reusable page.

Default wiki structure

If the user does not already have a schema, propose a simple markdown-first layout like:

wiki/
  index.md
  log.md
  schema.md
  sources/
  pages/
    topics/
    concepts/
    entities/
    analyses/

Adapt to the user's existing layout instead of forcing this one.

Operating modes

1. Ingest

Use when a new source is added.

Workflow:

  1. Read the source
  2. Identify key topics, entities, concepts, dates, claims, and open questions
  3. Create or update a source summary page if the wiki uses source pages
  4. Update affected topic, entity, concept, or analysis pages
  5. Add or repair internal links
  6. Update index.md
  7. Append a concise entry to log.md
  8. Record uncertainties, contradictions, or follow-up questions explicitly

During ingest, prefer touching a small number of clearly relevant pages over creating a large number of weak pages.

Create a new page only when at least one of these is true:

  • the concept or entity is likely to recur
  • the page would receive meaningful links from multiple places
  • the content would otherwise make an existing page too broad or noisy

Otherwise, expand an existing page.

2. Query

Use when the user asks a question against the wiki.

Workflow:

  1. Read index.md first when available
  2. Identify the most relevant wiki pages
  3. Synthesize from the wiki before falling back to raw sources
  4. Cite the wiki pages and, when appropriate, the underlying sources
  5. If the answer creates durable value, save it as a new or updated analysis page
  6. Update index.md if a new page is created
  7. Append to log.md if the wiki treats queries as first-class events

Prefer answers that preserve distinctions between:

  • facts directly supported by sources
  • synthesis across multiple pages
  • speculation or open questions

3. Lint

Use when checking wiki health.

Look for:

  • orphan pages with few or no inbound references
  • duplicate pages with overlapping scope
  • stale claims superseded by newer sources
  • contradictions between pages
  • missing cross-links
  • important concepts mentioned repeatedly without their own page
  • schema drift, inconsistent titles, inconsistent frontmatter, broken naming
  • analysis pages that should have been linked from topic/entity pages but were not

When linting, prefer producing an actionable list of fixes grouped by severity:

  • critical consistency issues
  • likely quality improvements
  • optional structural improvements

Page conventions

Favor concise pages with clear structure. A useful default shape is:

# Page Title

## Summary
Short synthesis of what this page is about.

## Key points
- Bullet points of durable knowledge

## Details
Longer notes, evidence, chronology, or structured sections

## Related
- [[Other Page]]

## Sources
- [[Source Page A]]
- [[Source Page B]]

If the wiki uses frontmatter, keep it minimal and consistent. Good optional fields include:
- `type`
- `aliases`
- `status`
- `updated`
- `source_count`
- `tags`

Do not invent elaborate metadata unless the user actually benefits from it.

## Naming and linking rules

Use stable, human-readable file names.

Prefer:
- one canonical page per concept/entity/topic
- redirects or aliases only when the wiki supports them
- explicit wiki-links between related pages
- consistent singular vs plural naming

When unsure whether two pages should merge, keep both only if they have clearly different scope. Otherwise merge and leave one canonical page.

## Index and log rules

### `index.md`

Treat `index.md` as the navigational catalog.

Include:
- page link
- one-line summary
- optional grouping by category
- optional source counts or update dates if the wiki uses them

Keep it skimmable. It should help future sessions decide what to read next.

### `log.md`

Treat `log.md` as append-only chronology.

Use a parseable heading style such as:

```markdown
## [2026-04-12] ingest | Source title

Keep entries concise:

  • what was ingested, queried, or linted
  • which pages were created or updated
  • any unresolved issues

Quality bar

A good wiki update should:

  • preserve source fidelity
  • surface contradictions instead of hiding them
  • strengthen cross-links
  • reduce future work
  • make later questions cheaper to answer

Do not overwrite uncertainty with confident prose. When the evidence is mixed, say so clearly.

Working with existing wikis

If a wiki already exists:

  1. Inspect its schema, folder layout, and naming style
  2. Follow the existing conventions unless they are clearly harmful
  3. Repair inconsistencies gradually instead of rewriting the whole wiki at once
  4. Propose larger schema changes before making them

Obsidian-friendly guidance

For Obsidian-style vaults:

  • prefer markdown files and wiki-links like [[Page Name]]
  • keep filenames readable
  • avoid fragile generated syntax unless the user already uses it
  • if frontmatter exists, preserve formatting and field order when practical
  • make pages pleasant to browse by humans, not only optimized for machine parsing

Deliverables by task

For ingest requests

Deliver:

  • source summary or source page update
  • updated related pages
  • index.md update
  • log.md entry
  • short note on contradictions or open questions

For query requests

Deliver:

  • answer with citations
  • optional durable analysis page if worth keeping
  • any relevant index or log updates

For lint requests

Deliver:

  • prioritized issue list
  • concrete proposed edits
  • optional patch plan for high-value fixes

References

  • Read references/getting-started.md when the user needs a minimal starter schema for a new wiki.
  • Read references/wiki-patterns.md for core page templates and structural heuristics.
  • Read references/ingest-patterns.md when ingesting a new source into the wiki.
  • Read references/query-patterns.md when answering questions from the wiki or deciding whether to save a durable analysis page.
  • Read references/lint-checklist.md when checking the wiki for contradictions, stale claims, weak links, duplicates, or structural drift.

相关文章

更多
使用 PicGo 搭建基于 GitHub 的稳定免费图床

针对公共图床失效导致 Markdown 文章图片丢失的问题,推荐使用 PicGo 工具配合 GitHub 公有仓库搭建个人图床。通过创建公有仓库、生成具有 repo 权限的 Token,并在 PicGo 中完成仓库与分支配置,即可实现稳定可靠的图片上传与管理。

2026.07.28 921
markdownify-mcp SSRF漏洞影响版本与修复指南

mcp-markdownify-server 1.2.0 以下版本存在服务端请求伪造(SSRF)风险,涉及 webpage-to-markdown、youtube-to-markdown、bing-search-to-markdown 和 git-repo-to-markdown 四个工具。该漏洞源于 URL 和仓库地址校验逻辑缺陷,攻击者可通过提示注入诱导服务访问内部资源或云元数据端点。CVSS 评分分别为 4.0 版本的 8.3 分和 3.1 版本的 7.4 分。建议立即将运行实例升级至 1.2.0 或更高版本以启用完整的 DNS 解析检查、重定向拦截及 SSH 简写拒绝机制。

2026.11.08 880
Typora 编辑器介绍与 v1.0.4 破解激活指南

Typora 是一款基于 GFM 标准的强大 Markdown 编辑器,以实时预览和无干扰界面著称。本文介绍了其核心功能如文件树管理和多格式导出,并详细记录了针对 Typora v1.0.4 版本的破解流程。通过安装 Python 和 Node.js 依赖,利用 typoraCracker 工具解包 app.asar 文件,替换 License.js 权限文件并重新打包,最终通过 keygen.js 生成有效序列号以解决激活弹窗问题。

2025.02.04 865
Typora 1.4.8 安装与破解激活指南

本文介绍 Typora 1.4.8 版本的安装及激活方法。该软件支持 macOS、Windows 及 Linux 系统,具备实时预览、多主题及数学公式等功能。由于百度网盘链接易被封禁,目前需通过微信公众号“Java技术迷”回复关键字“230223”获取破解补丁。安装时需将 winmm.dll 文件复制至软件目录以完成激活。

2025.04.24 826
PHP实现Markdown文章上传到七牛图床的实例内容

在使用 Markdown 编写文章后,手动上传图片管理不便。本文介绍使用 PHP 配合七牛云 SDK,通过正则匹配提取图片并批量上传至图床,最后替换本地路径以实现文章同步发布。

2026.08.01 815
2026年Typora破解与激活教程

本文介绍 Typora 在 2026 年的两种主要破解方式。第一种推荐适用于 Typora 1.3.8 版本,通过替换 winmm.dll 补丁实现永久激活;第二种适用于 1.2.4 版本,需修改 app.asar 文件并输入固定序列号。教程包含详细步骤、版本下载链接及注意事项,旨在帮助用户以非商用目的体验该 Markdown 编辑器。

2026.06.13 797
Skill 文件
  • SKILL.md
    • Karpathy Wiki
    • Core model
    • Default wiki structure
    • Operating modes
      • 1. Ingest
      • 2. Query
      • 3. Lint
    • Page conventions
    • Quality bar
    • Working with existing wikis
    • Obsidian-friendly guidance
    • Deliverables by task
      • For ingest requests
      • For query requests
      • For lint requests
    • References
  • 项目或源文件

相关 Skill

更多
MD to Mobile Image MD to Mobile Image 将 Markdown 文件转换为高对比度、适配移动端的 PNG 图片,专为 Telegram 和社交媒体分享优化。
marktodocx-skill marktodocx-skill 使用 marktodocx Node 运行时将 Markdown 转换为 DOCX,适用于用户明确要求转换 Markdown 内容或文件。
Slidev Assist Slidev Assist 接收主题或原始材料(研究报告、数据、文案、PPTX等),AI解析生成Markdown,调用Slidev输出可演示的HTML幻灯片
Publish to dochost Publish to dochost 将 Markdown 或 HTML 发布到干净、可共享的 dochost.io 链接并返回 URL 给用户。当用户说“发布这个”“把这个分享为链接”等时使用。
zt-web-fetcher zt-web-fetcher 当需要获取网页内容时使用(搜索结果页面、博客文章、文档等)。使用 URL 转 Markdown 服务将网页转换为可读文本。 触发场景:用户说"帮我查一下"、"看看这个链接"、"获取 xx 的信息"等需要上网抓信息的情况。