nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:quan2005/dsh-plugin-jinji
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English summary. Jinji Reader is a DeepSeek Harness (DSH) plugin that turns a local Markdown journal into a read-only wiki inside DSH. Browse logs, people and product profiles, a bookshelf and skills in a side panel, search full text, and insert
@pathcitations into the current conversation's input box without ever writing to the journal. A zero-dependency Python service renders the content; the plugin embeds it and bridges citations. Documentation is in Chinese.
谨迹书房是 DeepSeek Harness(DSH)插件,把本机的 Markdown 日志库(journal)变成 DSH 里的只读 Wiki:边读边聊,一键把文档以 @路径 引用进当前会话的输入框。书房只负责读、找、引用;除了你在设置页点「初始化」时往空目录里生成起步骨架,从不修改 journal。
/ 或 ⌘K 唤起。/shufang 命令;主题跟随 DSH 深浅色。~/.local/share/jinji-reader/),按 journal 隔离。功能细节与 journal 目录约定见 docs/reader.md。
克隆仓库:
git clone https://github.com/quan2005/dsh-plugin-jinji.git
cd dsh-plugin-jinji
在 DSH 插件管理器中以本地目录(link)方式安装 dsh-plugin/,启用组合包 dsh-plugin-jinji-reader。插件启用时会自动拉起阅读器服务(127.0.0.1:4417)。安装、配置覆盖与生效方式见 维护指南 §3。
在 DSH 左栏点「谨迹书房」,或在对话中输入 /shufang 在右侧栏打开。
设置笔记库:点左栏底部的齿轮(#/setup),填 journal 目录后保存。
AGENTS.md、identity/README.md、人物与产品档案模板和一篇说明日志;把素材交给 AI 助手,它按 AGENTS.md 整理成书房能读的日志和档案。保存写入本地 server/wiki.config.json,服务原地重启后切到新目录。初始化只在目录不存在或为空时可用,不覆盖任何文件。
不经 DSH 也可以单独运行阅读器网页:make serve,然后打开 http://127.0.0.1:4417。
阅读器按顺序读取配置:环境变量 JINJI_CONFIG → server/wiki.config.json(本地文件,不入库)→ server/wiki.config.example.json。
| 字段 | 说明 |
|---|---|
journal |
日志库目录,可在设置页修改;环境变量 JINJI_JOURNAL(或 DSH 插件配置的 journal)优先,此时设置页只能初始化、不能换位置 |
port |
服务端口,默认 4417;环境变量 JINJI_PORT 优先 |
skill_roots |
技能目录,默认 ~/.agents/skills,用于「专家智库」 |
extra_roots |
允许打开的 journal 以外目录 |
archive_file / favorites_file |
归档、收藏记录的库外位置;不可指向 journal 内 |
categories |
入口列表。kind 取 timeline、portrait、shelf、experts |
状态根目录可用 JINJI_STATE_DIR 改。DSH 插件自身的配置(端口、Python、journal、服务入口、是否预启动)写在 profile 的 cordis.patch.yml,见 dsh-plugin/cordis.patch.yml。
| 路径 | 作用 |
|---|---|
dsh-plugin/ |
DSH 插件:Host 负责拉起服务与鉴权路由,Client 负责面板、Tab、命令、主题与引用回填;手写 JS,零依赖、无构建 |
server/server.py |
Python 标准库服务:索引、检索、渲染、路径边界;journal 只读(初始化空目录除外) |
starter/journal/ |
设置页「初始化」复制的起步骨架;文件名和内容里的 {{yyMM}}、{{DD}}、{{date}} 换成当天日期 |
server/static/ |
阅读器单页前端,Markdown 渲染库随仓库分发,不依赖 CDN |
server/tests/ |
后端单元测试与阅读器浏览器回归,只使用临时生成的 journal |
docs/ |
功能说明与维护指南 |
make check # ruff 静态检查 + 插件冒烟 + 后端单测
make test-browser # 浏览器回归,需要 Python Playwright 与 Chromium
改动怎样在 DSH 中生效、怎样核对 DSH 接口、必须保留的安全约束,见 维护指南。贡献流程见 CONTRIBUTING.md。
服务只监听 127.0.0.1,DSH 路由沿用 DSH 的浏览器会话鉴权。发现漏洞请按 SECURITY.md 私下报告。
MIT © 2026 yanwu
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: memory。