generate-mocs
重新生成 Obsidian 里的目录页 / 导航页(MOC)。 当用户说“更新索引”“更新论文和概念目录”“刷新论文和概念目录”“刷新MOC”时使用。
Install / Use
npx skills add huangkiki/dailypaper-skills --skill generate-mocsInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Development & EngineeringSupported Platforms
Our assessment of generate-mocs
generate-mocs scores 76/100 on our quality scale, 3080th of 4,259 Development & Engineering skills we index.
Its SKILL.md is 1.2 KB long, split into 5 sections with 2 code examples: moderately detailed.
With 1,255 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated 15 days ago, so generate-mocs is actively maintained.
- It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
generate-mocs compared with similar skills
All 4 of these similar skills score higher than generate-mocs; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| generate-mocs (this skill)by huangkiki | 76 | 1.3k | 15d ago | SKILL.md |
| Agent-Reachby Panniantong | 100 | 86.6k | 15d ago | CLAUDE.md |
| ai-job-searchby MadsLorentzen | 100 | 44.6k | 1d ago | CLAUDE.md |
| claude-howtoby luongnv89 | 100 | 41.7k | today | CLAUDE.md |
| algorithmic-artby anthropics | 100 | 177.9k | 8d ago | SKILL.md |
Frequently asked questions
- How do I install generate-mocs?
- Run
npx skills add huangkiki/dailypaper-skills --skill generate-mocs. The install tabs above show the steps for each supported agent. - Which AI agents does generate-mocs work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is generate-mocs safe to use?
- It is Apache-2.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is generate-mocs still maintained?
- The repository was last updated 15 days ago, so generate-mocs is actively maintained.
Skill content
View source on GitHubname: generate-mocs description: | 重新生成 Obsidian 里的目录页 / 导航页(MOC)。 当用户说“更新索引”“更新论文和概念目录”“刷新论文和概念目录”“刷新MOC”时使用。
更新目录页
这个 skill 用于手动补刷 Obsidian 里的目录页 / 导航页(MOC)。
Step 0: 读取共享配置
先读取 ../_shared/user-config.json,如果 ../_shared/user-config.local.json 存在,再用它覆盖默认值。
显式生成并在后续统一使用这些变量:
VAULT_PATHNOTES_PATHCONCEPTS_PATHAUTO_REFRESH_INDEXESGIT_COMMIT_ENABLEDGIT_PUSH_ENABLED
其中:
NOTES_PATH = {VAULT_PATH}/{paper_notes_folder}CONCEPTS_PATH = {NOTES_PATH}/{concepts_folder}GIT_PUSH_ENABLED只有在GIT_COMMIT_ENABLED=true时才可能为真
后续步骤统一使用上面的变量。
执行步骤
- 运行概念目录页脚本:
python3 ../_shared/generate_concept_mocs.py
- 运行论文目录页脚本:
python3 ../_shared/generate_paper_mocs.py
- 汇报:
- 扫描了多少个目录
- 新建 / 更新了多少个目录页
- 目录页文件写到了哪里
git 自动化
默认配置下:
AUTO_REFRESH_INDEXES=trueGIT_COMMIT_ENABLED=falseGIT_PUSH_ENABLED=false
只有在 GIT_COMMIT_ENABLED=true 时才做 git 操作,并且必须先检查:
VAULT_PATH/.git是否存在git add之后是否真的有 staged changes
只有在上面两项都满足时才 commit。
只有在 GIT_PUSH_ENABLED=true 且仓库已配置远端时才 push。
结果要求
- 目录页生成逻辑必须来自仓库自带脚本,不依赖
VAULT_PATH/scripts/* - 重复运行应保持幂等
- 用户手动运行这个 skill 时,不受
AUTO_REFRESH_INDEXES开关影响
Related Skills
Agent-Reach
86.6kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
ai-job-search
44.6kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
claude-howto
41.7kA visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
