AGENT SKILL

链接书签与待办管理

bookmark.add

查找与给定链接相关的研究想法或博客文件,并添加 TODO 待办事项。

适用职业内容创作者
License 许可
Apache-2.0
所属仓库
causify-ai/helpers
最近更新
2026-11-02
Stars
★ 155
Forks
170

01 前言 Front Matter

model
haiku
description
Find the research idea or blog file related to given links and add a TODO

02 资源文件 3

03 SKILL.md 正文

Goal

  • Given one or more links <LINKS>, find which file(s) among the following are related to each link, and add a TODO to the most related file:
    • research/ideas/*.md
    • website/docs/blog/posts/*.md
    // TODO(gp): incorporate the link <LINK> to <TOPIC>
    

Workflow

Collect Material

  • Read the title / content of each link in <LINKS> (use WebFetch if the URL alone is not descriptive enough to judge topic)
  • List all candidate files:
    • research/ideas/*.md
    • website/docs/blog/posts/*.md

Match Links to Files

  • For each link, compare its topic against the content of each candidate file (title, headers, first paragraph) and rank candidates by relevance
  • Pick the single best-matching file for each link
    • If several files are close in relevance, list them and ask the user which one to use
    • If no file is a plausible match (topic not covered anywhere), do not force a match: report this to the user instead of guessing

Add the TODO

  • In the matched file, add one line:
    // TODO(gp): incorporate the link <LINK> to <TOPIC>
    
    where <TOPIC> is a short (< 15 words) description of what part of the link is relevant (e.g., a technique, a result, a quote)
  • Placement:
    • If the file already has a top-of-file // TODO(gp): ... block, add the new TODO as an adjacent line in that block
    • Otherwise, add it near the section of the file the link is most related to (e.g., right above the relevant bullet point or paragraph)
  • Do not change any other content of the file
  • If multiple links map to the same file, add one TODO line per link

Report

  • Print, for each link, which file it was added to and the exact TODO line that was inserted
  • For any link that could not be matched, report that explicitly instead of silently skipping it

Verification

  • [ ] Each link is matched to at most one file, with no forced or guessed match
  • [ ] Each inserted line follows the exact // TODO(gp): incorporate the link <LINK> to <TOPIC> format
  • [ ] No content other than the new TODO line(s) was changed in the matched file
  • [ ] The report lists every link with its target file or its "not matched" status

04 同仓库更多 Skills