Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计提醒

note-to-blog博客注释

Agent Skill

note-to-blog 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

509

周安装

21

GitHub Stars

11

下载量

166
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:note-to-blog(博客注释)
来源仓库:https://github.com/niracler/skill
仓库路径:skills/note-to-blog
安装命令:
npx skills add https://github.com/niracler/skill --skill note-to-blog
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/niracler/skill --skill note-to-blog

简介

所有Agent完成后,呈现统一的总结:

  • 快速通道完成:
  • ✓ 后LLM时代代码Review → repos/bokushi/src/content/blog/llm-code-review.md
  • - 转换正常,无问题
  • ✓ SSH 私钥加密 → repos/bokushi/src/content/til/ssh-key-encryption.md
  • - 发现 1 个 TODO 标记需要手动处理
  • 深度跟踪完成:
  • 📋优雅的哲学 (9篇关联)
  • - 研究报告已生成
  • - 下一步? a) 按大纲编写 b) 修改大纲 c) 暂不处理
  • 状态更新:
  • 起草:N篇
  • 草稿稿隐藏:true,需要手动审核后改为 false 发布。
  • 建议使用/writing-proofreading进行审校。
  • 发布后运行:
  • python3 <skill-dir>/scripts/note-to-blog.py 状态发布“<note_path>”--note-repo“<NOTE_REPO>”
  • 详细参考资料
  • 路径配置:user-config.md
  • LLM评估提示及评分:scoring-criteria.md
  • 代理提示模板:agent-instructions.md
  • 每周安装量
  • 21
  • 存储库
  • 尼克尔/技能
  • GitHub 之星
  • 11
  • 第一次看到
  • 6 天前
  • 安全审计
  • Gen Agent Trust Hub 警告
  • 插座警告
  • 斯尼克通行证

SKILL.md

Note to Blog

从 Obsidian Note 仓库中筛选适合发布的笔记,评估适配性,批量选题,双通道处理(快速转换 / 深度研究),并行 Agent 派发。

Prerequisites

ToolTypeRequiredInstall
Python 3cliYesPre-installed on macOS
PyYAMLcliYespip install pyyaml
writing-proofreadingskillNoIncluded in npx skills add niracler/skill
Do NOT proactively verify these tools on skill load. If a command fails due to a missing tool, directly guide the user through installation and configuration step by step.

When NOT to Use

  • 笔记库少于 5 篇时,手动选题更快
  • 只想转换单篇已确定的笔记 — 直接运行 <skill-dir>/scripts/note-to-blog.py convert "<path>"
  • 博客草稿已存在,只需校对 — 使用 writing-proofreading

Script Location

All deterministic operations are handled by the Python script:

<skill-dir>/scripts/note-to-blog.py  (collect / convert / state subcommands)

Path configuration is in user-config.md. All bash examples below use <PLACEHOLDER> — replace with values from user-config.md.

Workflow Overview

Step 1           Step 2            Step 3              Step 4             Step 5
 Collect   ──▶   Level Select ──▶  By Level     ──▶   Execute      ──▶   Summary
 (script)        (user)            ├─ L1 浏览          (Agent Teams)       (report)
                                   ├─ L2 推荐
                                   └─ L3 深探
                                        │
                                   Interact ──▶ track assign ──▶ confirm

Step 1: Collect

Run the collect script with paths from user-config.md:

python3 <skill-dir>/scripts/note-to-blog.py collect \
  --note-repo "<NOTE_REPO>" \
  --blog-content "<BLOG_CONTENT>" \
  --project-paths <PROJECT_PATHS> \
  --history-file "<HISTORY_FILE>"

The script outputs a single JSON object to stdout containing:

  • candidates: all eligible notes with title, summary, char_count, outgoing_links
  • clusters: wikilink hub nodes (3+ inbound links) with related notes
  • published_posts: existing blog posts with title, tags, collection
  • session_keywords: recent Claude Code session activity signals
  • stats: total_scanned, filtered_out, candidates_count

Read the JSON output and proceed to Step 2.

Step 2: Level Selection

Display data volume and offer Level choice:

collect 完成:
  候选笔记: {candidates_count} 篇 (总扫描 {total_scanned}, 过滤 {filtered_out})
  主题簇: {clusters_count} 个 (3+ 引用 hub)

可选深度:
  Level 1 浏览    直接展示候选列表,手动选择          0 额外 token
  Level 2 推荐    LLM 评估 + 主题簇分析              ~2k token     ← 推荐
  Level 3 深探    Level 2 + 读取 hub 笔记全文         ~5k+ token

选择 Level (1-3)?

Quick Reference

Level名称评估方式后续流程
1浏览无 LLM,候选按字数降序用户直选 → 全部 fast track
2推荐LLM 评估摘要 + 主题簇 → 5-8 推荐fast/deep track 分配
3深探Level 2 + 读取 hub 笔记全文fast/deep track,cluster 推荐更准确

Recommendation logic

候选数clusters推荐
≤ 10anyLevel 1
> 100Level 2
> 101+Level 2

用户明确说「想发现主题」「有什么可以整合的」时 → 推荐 Level 3。

Step 3: By Level

Level 1: Browse

Skip LLM evaluation. Display candidates sorted by char_count descending:

#  标题                         字数    链接数
1  关于后LLM时代的代码Review     3200    5
2  SSH私钥加密                   1200    2
3  Feed内容阅读姿势              1800    3
...

User selects items by number. All selections go to fast track only (Level 1 does not offer deep track).

After selection, skip to Confirm & Execute below.

Level 2: Recommend

Make a single LLM evaluation using the prompt template from scoring-criteria.md.

Input: Construct the evaluation prompt with collect JSON data (candidates, clusters, published_posts, session_keywords).

Output: The LLM SHALL return a JSON array of 5-8 recommendations. See scoring-criteria.md for the full specification.

If the LLM response is not valid JSON, retry once with explicit format instructions.

After evaluation, proceed to Interact below.

Level 3: Deep Explore

Same as Level 2, but before calling the LLM, Read the full text of each cluster hub note and append it to the evaluation prompt.

For each cluster in the collect JSON where hub_path is not null:

  1. Read the hub note full text from the Note repository
  2. Append it to the LLM prompt under a ## Hub 笔记全文 section (see scoring-criteria.md for the Level 3 input format)

This gives the LLM actual content context for cluster recommendations instead of just metadata.

After evaluation, proceed to Interact below.

Interact (Level 2/3)

Present recommendations

Display the recommendation list as a mixed table:

#  类型    标题                    适配分  目标   工作量  活跃   重复风险
1  单篇    后LLM时代代码Review      92    blog    小    ★★★    无
2  主题簇  优雅的哲学 (9篇关联)      88    blog    大    ★      无
3  单篇    SSH私钥加密              85    til     小    ─      无
...

User actions

ActionExampleEffect
Select + assign track"1 和 3 快速转换,2 走深度"Queue items with track assignment
Override collection"1 放 til"Change target collection
Batch skip"4~6 跳过,reason: private"Mark as skipped via state skip
See more"还有别的吗"Request additional recommendations
Check status"状态"Run state status

On skip: run immediately:

python3 <skill-dir>/scripts/note-to-blog.py state skip "<path>" --reason "<reason>" \
  --note-repo "<NOTE_REPO>"

Track assignment

TrackWhen to useWhat happens
Fast (快速)Independent, mostly complete notesScript converts → Agent reviews → draft
Deep (深度)Topic clusters or rough notes needing researchAgent reads all related notes → research report

Default: effort: "小" → fast; type: "cluster" or effort: "大" → deep. User decides.

Confirm & Execute

Display a confirmation summary (all Levels):

确认选择:
  Fast track:
    1. 后LLM时代代码Review → blog/
    3. SSH私钥加密 → til/
  Deep track:
    2. 优雅的哲学 (9篇关联) → blog/

开始处理?

Wait for user confirmation, then dispatch.

Parallel dispatch

Dispatch N parallel Agents using the Task tool, one per selected item.

其他 Agent 环境:以下 Fast/Deep track 任务相互独立,可按顺序依次执行。
总编 (Main Agent)
├── Task Agent 1: 文章 A (fast track)
├── Task Agent 2: 文章 B (fast track)
└── Task Agent 3: 主题簇 C (deep track)

Use the Task tool to launch all Agents in a single message. Each Agent should be a general-purpose subagent with a detailed prompt containing all the information it needs.

See agent-instructions.md for the complete Fast Track and Deep Track agent prompt templates.

State updates

Individual Agents do NOT update .note-to-blog.json directly. After all Agents complete, the main agent runs state updates sequentially:

python3 <skill-dir>/scripts/note-to-blog.py state draft "<note_path>" \
  --target "<collection>/<slug>.md" \
  --note-repo "<NOTE_REPO>"

Deep track items are NOT marked as drafted (they need further user decision).

Summary

After all Agents complete, present a unified summary:

Fast Track 完成:
  ✓ 后LLM时代代码Review → repos/bokushi/src/content/blog/llm-code-review.md
    - 转换正常,无问题
  ✓ SSH私钥加密 → repos/bokushi/src/content/til/ssh-key-encryption.md
    - 发现 1 个 TODO 标记需要手动处理

Deep Track 完成:
  📋 优雅的哲学 (9篇关联)
    - 研究报告已生成
    - 下一步? a) 按大纲写作  b) 修改大纲  c) 暂不处理

状态更新:
  drafted: N 篇

草稿均为 hidden: true,需要手动 review 后改为 false 发布。
建议使用 /writing-proofreading 进行审校。

发布后运行:
  python3 <skill-dir>/scripts/note-to-blog.py state publish "<note_path>" --note-repo "<NOTE_REPO>"

Detailed References

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.15%
按下载量换算58

Claude

29.7%
按下载量换算49

Cursor

19.34%
按下载量换算32

Gemini CLI

8.64%
按下载量换算14

安全审计

Gen Agent Trust Hub

可疑

Socket

可疑

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills