← 返回 Skills 市场
sora-mury

Karpathy Lint

作者 sune · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
109
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install karpathy-lint
功能描述
Performs quality checks on Karpathy LLM knowledge points including deduplication, merging, updating, and generates reports on knowledge base health.
使用说明 (SKILL.md)

Karpathy Lint Skill - Phase 3

描述

实现 Karpathy LLM Knowledge Base 的第三阶段:知识自检与修复。

对 Phase 2 生成的 knowledge points 进行质量检查:去重、合并、更新、删除。

工作流程

Phase 1: 用户查询 → Wiki 条目
Phase 2: Wiki → Knowledge Points (精炼)
Phase 3: Lint → 去重/合并/更新/自修复 ← 当前
Phase 4: 高级 (M-Flow 集成、多Agent共享)

Lint 检查项

  1. 去重 (Deduplication)

    • 检测相似/重复的 knowledge points
    • 合并高度相似的内容
  2. 更新 (Update)

    • 检查知识点是否过期
    • 标记需要更新的条目
  3. 质量检查 (Quality Check)

    • 检查内容完整性
    • 验证标签一致性
  4. 生成健康报告

    • 当前知识库统计
    • 发现的问题列表
    • 修复建议

文件结构

karpathy-lint/
├── SKILL.md
├── scripts/
│   ├── __init__.py      # LintPipeline
│   ├── dedup.py          # 去重逻辑
│   ├── merger.py          # 合并逻辑
│   └── test_lint.py      # 测试

依赖

  • Phase 2 的 knowledge points 文件
  • M-Flow (可选,用于存储)
安全使用建议
Before installing or running: (1) Confirm the repository includes the missing modules (dedup.py, merger.py or equivalent) — the SKILL.md lists files that are not present. (2) Inspect the remainder of scripts/__init__.py (it was truncated in the review) for any network calls, secrets exfiltration, or code that calls external services (M-Flow integration was mentioned). (3) Note the default behavior: it will read from and write to a sibling/parent 'knowledge/knowledge-points' directory (outside the skill folder). If that path is not where you want it to operate, run it with an explicit kp_path pointing to a safe sandbox copy. (4) Run the tests in a sandboxed environment or container with only sample knowledge files to observe behavior. (5) If you don't trust the unknown source, request a homepage or source repo and a complete file listing from the publisher before use.
功能分析
Type: OpenClaw Skill Name: karpathy-lint Version: 1.0.0 The skill bundle implements a knowledge base linting and deduplication pipeline for Markdown files. The code in scripts/__init__.py and scripts/test_lint.py performs legitimate text processing, similarity calculations, and report generation without any signs of data exfiltration, malicious execution, or prompt injection.
能力评估
Purpose & Capability
The SKILL.md describes deduplication, merging, and merging helper modules (dedup.py, merger.py), but the package only includes scripts/__init__.py and test_lint.py — the named helper modules are missing. That mismatch suggests the bundle is incomplete or the implementation is different from the documentation.
Instruction Scope
The code's KnowledgePointParser defaults to a path three levels up plus /knowledge/knowledge-points, i.e. it reads and writes files outside the skill folder (repository-root/knowledge/knowledge-points). This will access user filesystem data outside the skill directory and write lint-report.md there. The SKILL.md mentions Phase 2 knowledge files but does not make the exact path/side-effects explicit.
Install Mechanism
No install steps or external downloads are present (instruction-only with included scripts), so there is no installer that would fetch remote code. This reduces installation-time supply-chain risk.
Credentials
The skill doesn't request any environment variables or external credentials, which is proportional to its stated purpose. However, because it directly reads and writes files outside its own directory, it effectively requires filesystem access to the user's knowledge directory — confirm that the default path matches where you want it to operate or that you will pass an explicit, safe path.
Persistence & Privilege
The skill is not always-enabled and does not declare system-wide privileges. It does write reports and can save updated knowledge-point files into the inferred knowledge directory, which is expected for a lint/repair tool but is a form of persistent modification to user data (not to other skills or system configs).
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install karpathy-lint
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /karpathy-lint 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Weekly memory health check and maintenance
元数据
Slug karpathy-lint
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Karpathy Lint 是什么?

Performs quality checks on Karpathy LLM knowledge points including deduplication, merging, updating, and generates reports on knowledge base health. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 109 次。

如何安装 Karpathy Lint?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install karpathy-lint」即可一键安装,无需额外配置。

Karpathy Lint 是免费的吗?

是的,Karpathy Lint 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Karpathy Lint 支持哪些平台?

Karpathy Lint 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Karpathy Lint?

由 sune(@sora-mury)开发并维护,当前版本 v1.0.0。

💬 留言讨论