Skip to content
Back to skills

Moc Organizer

ASecurity

为 Obsidian 生成或更新 MOC(Map of Content)目录笔记。用于用户要求“生成 MOC”“整理目录”“把新笔记加入目录”“每次加入笔记自动更新索引”等场景。只维护索引、分组、双链和简短说明,不复制正文。

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
tools

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 11, 2026

npx -y skills add Treasoni/study-system --skill moc-organizer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Moc Organizer?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Moc Organizer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/treasoni-moc-organizer/badge)](https://www.skillsdirectory.com/skills/treasoni-moc-organizer)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: moc-organizer
description: 为 Obsidian 生成或更新 MOC(Map of Content)目录笔记。用于用户要求“生成 MOC”“整理目录”“把新笔记加入目录”“每次加入笔记自动更新索引”等场景。只维护索引、分组、双链和简短说明,不复制正文。
---

# MOC Organizer

维护 Obsidian MOC 目录笔记。

## Inputs

优先从用户或 `00_intent.md`/发布配置中确认:

- `vault_path`: Obsidian vault 根目录
- `moc_path`: MOC 文件路径
- `note_path`: 新增或更新的笔记路径
- `topic`: 主题
- `tags`: 标签
- `summary`: 一句话说明

## Workflow

1. **定位 MOC**
   - 如果 `moc_path` 存在,读取标题和现有分组。
   - 如果不存在,创建最小 MOC 模板。
2. **生成索引项**
   - 格式:`- [[笔记标题]] - 一句话说明 #tag`
   - 只保留 1 行,不复制正文。
3. **去重更新**
   - 如果已存在同名双链,更新摘要/标签,不重复追加。
4. **分组**
   - 优先按主题或学习阶段分组。
   - 不确定时放入 `## Inbox`。
5. **验证**
   - 检查双链标题与笔记文件名一致。
   - 检查 MOC 没有长段落堆积。

## Minimal MOC Template

```markdown
---
type: moc
status: active
updated: {date}
---

# {topic} MOC

## Inbox

- [[{note_title}]] - {summary} {tags}
```

## Automation Boundary

“自动执行”在本项目中指:每次阶段 6 发布或更新笔记后,工作流必须调用本 skill 同步 MOC。不要依赖全局 Codex 配置。

Files in this skill

  • SKILL.md1.5 KB
  • manifest.yaml415 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.