Token导航 LogoToken导航

Agent Skill · 研究检索

foam-notes(泡沫笔记)

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

foam-notes 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 4,057。

总安装 36,511周安装 1,477GitHub Stars 1下载 11,462核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.3

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:foam-notes(泡沫笔记)
来源仓库:https://github.com/hegghammer/foam-notes
安装命令:
openclaw skills install foam-notes
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install foam-notes

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

在 Foam 笔记系统中创建、编辑与关联知识条目。提供智能维基链接与标签建议,增强笔记互联性。支持反向链接发现与每日笔记自动生成。foam-notes 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

安装命令:openclaw skills install foam-notes 要求本地存在有效的 Foam 存储库目录结构。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install foam-notes;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

foam-notes 怎么安装?

在终端执行 openclaw skills install foam-notes。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

foam-notes 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

foam-notes 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

foam-notes 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

foam-notes 用的人多吗?

公开数据是累计安装 36,511 次,近一周安装 1,477 次,下载 11,462 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

foam-notes 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
foam-notes

泡沫笔记 · 本页

36,5111接触敏感数据MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
foam-notes
description
Work with Foam note repositories. Create, edit, link, and tag notes. Get intelligent wikilink and tag suggestions. Skill supports backlinks discovery, daily notes, templates, graph visualization, note deletion, and renaming. Full Foam documentation included for easy querying.

Foam Notes

Work with Foam note-taking workspaces in VS Code. Foam is a free, open-source personal knowledge management system using standard Markdown files with wikilinks.

Quick Reference

  • Wikilinks: [[note-name]] — connect notes bidirectionally
  • Embeds: ![[note-name]] — include content from other notes
  • Backlinks: Automatically discovered connections to current note
  • Tags: #tag or frontmatter tags: [tag1, tag2]
  • Daily Notes: Alt+D or command "Foam: Open Daily Note"

Configuration

Copy config.json.template to config.json and edit to taste:

{
  "foam_root": "/path/to/your/foam-workspace",
  "default_template": "new-note",
  "default_notes_folder": "notes",
  "daily_note_folder": "journals",
  "author": "Your Name",
  "wikilinks": {
    "title_stopwords": ["home", "index", "readme", "draft", "template"],
    "suffixes": ["-hub"],
    "min_length": 3
  },
  "tags": {
    "editorial_stopwords": ["notes", "note", "foam", "markdown", "file", "page", "section"]
  }
}

Location: config.json in the skill directory (next to SKILL.md).

Config keys

KeyTypeDefaultDescription
foam_rootstring"" (auto-detect)Path to your Foam workspace
default_templatestring"new-note"Template for new notes
default_notes_folderstring"notes"Subfolder for new notes
daily_note_folderstring"journals"Subfolder for daily notes
authorstring""Author name for note creation
wikilinks.title_stopwordslist[]Note titles to never match as wikilinks (e.g. "home", "index", "todo"). Add any generic filenames from your workspace that produce false positives.
wikilinks.suffixeslist[]Filename suffixes whose base stem should also register as a match key. For example, if you name your hub/MOC notes docker-hub.md, add "-hub" here so that "docker" in prose matches docker-hub.md.
wikilinks.min_lengthint3Minimum key length to consider for wikilink matching
tags.editorial_stopwordslist[]Domain-specific words to exclude from tag suggestions (in addition to standard English stopwords).

Foam root priority order (highest to lowest)

  1. --foam-root CLI argument
  2. FOAM_WORKSPACE environment variable
  3. foam_root in config.json
  4. Auto-detect by finding .foam or .vscode directory
  5. Current working directory

See references/configuration.md for complete documentation.

Scripts

All scripts support --foam-root to override the workspace path.

init_templates.py

Initialize .foam/templates/ with starter templates from the official Foam template:

python3 scripts/init_templates.py              # Copy to current workspace
python3 scripts/init_templates.py --foam-root ~/notes
python3 scripts/init_templates.py --list      # Show available templates
python3 scripts/init_templates.py --force     # Overwrite existing
python3 scripts/init_templates.py --dry-run   # Preview what would be copied

Templates included:

  • new-note.md — Default template for new notes
  • daily-note.md — Template for daily notes
  • your-first-template.md — Example template demonstrating VS Code snippets

create_note.py

Create a new note from template:

python3 scripts/create_note.py "My New Idea"
python3 scripts/create_note.py "Meeting Notes" --template meeting
python3 scripts/create_note.py "Research Topic" --dir research/

find_backlinks.py

Find all notes that link to a given note:

python3 scripts/find_backlinks.py "Machine Learning"
python3 scripts/find_backlinks.py "ml-basics" --format json

search_tags.py

Find notes by tag:

python3 scripts/search_tags.py "#research"
python3 scripts/search_tags.py machine-learning --include-frontmatter

list_tags.py

List all tags with usage counts:

python3 scripts/list_tags.py
python3 scripts/list_tags.py --hierarchy --min-count 3

graph_summary.py

Analyze the knowledge graph:

python3 scripts/graph_summary.py
python3 scripts/graph_summary.py --format json

daily_note.py

Create daily notes:

python3 scripts/daily_note.py
python3 scripts/daily_note.py --yesterday
python3 scripts/daily_note.py --template custom-daily
python3 scripts/daily_note.py --print-path   # Just output the path

suggest_wikilinks.py

Suggest wikilinks by finding text in a note that matches existing note titles:

python3 scripts/suggest_wikilinks.py my-note.md              # Interactive mode
python3 scripts/suggest_wikilinks.py my-note.md --apply 1,3,5  # Auto-apply
python3 scripts/suggest_wikilinks.py my-note.md --auto-apply   # Apply all
python3 scripts/suggest_wikilinks.py my-note.md --dry-run      # Preview only
python3 scripts/suggest_wikilinks.py my-note.md --with-aliases # Create [[target|text]] format

The script scans the note content and identifies words/phrases that match existing note titles in the archive. It presents them as a numbered list:

1. Line 12, col 8
   Text: "machine learning"
   Link to: [[machine-learning]]
   Context: ...working on machine learning projects...

Wikilink formats:

  • Default: [[target]] — clean, simple links
  • With --with-aliases: [[target|display text]] — preserves original text as alias

Respond with:

  • Numbers to implement (e.g., 1 3 5)
  • all to apply all suggestions
  • none to cancel

suggest_tags.py

Suggest tags for a note based on content and existing tags in the archive:

python3 scripts/suggest_tags.py my-note.md              # Interactive mode
python3 scripts/suggest_tags.py my-note.md --apply all  # Add all suggested
python3 scripts/suggest_tags.py my-note.md --apply existing  # Only existing tags
python3 scripts/suggest_tags.py my-note.md --frontmatter     # Add to frontmatter

The script:

  1. Extracts keywords from note content
  2. Finds matching existing tags (with usage counts)
  3. Suggests new tags based on content analysis

Presented as numbered list with two sections:

  • Existing Tags — Already used in your archive
  • New Suggestions — Extracted from current note content

Respond with:

  • Numbers (e.g., 1 3 5)
  • all — all suggestions
  • existing — only existing tags
  • new — only new suggestions
  • none — cancel
  • Or type custom tags: #mytag #project

delete_note.py

Delete notes with optional backup and automatic backlink handling:

python3 scripts/delete_note.py "Old Note"                    # Interactive deletion
python3 scripts/delete_note.py "Old Note" --force          # Skip confirmation
python3 scripts/delete_note.py "Old Note" --backup         # Move to .foam/trash/
python3 scripts/delete_note.py "Old Note" --fix-links      # Remove wikilinks from other notes

Features:

  • Backup mode: Moves note to .foam/trash/ instead of permanent deletion
  • Backlink detection: Shows which notes link to the one being deleted
  • Link fixing: Automatically removes wikilinks from other notes
  • Confirmation: Prompts before deletion (skip with --force)

rename_note.py

Rename notes and automatically update all wikilinks:

python3 scripts/rename_note.py "Old Name" "New Name"       # Interactive rename
python3 scripts/rename_note.py "Old Name" "New Name" --force  # Skip confirmation

Features:

  • Automatic wikilink updates: Finds and updates all [[old-name]] references
  • File rename: Changes filename from old-name.md to new-name.md
  • Title preservation: Keeps note content intact, only updates links
  • Confirmation: Shows affected notes before proceeding

When to Use This Skill

Use this skill when:

  • Creating or editing notes in a Foam workspace
  • Working with wikilinks, backlinks, or the knowledge graph
  • Analyzing note relationships and connections
  • Setting up or configuring Foam templates
  • Working with daily notes or tags
  • Publishing Foam workspaces to static sites

Foam Workspace Structure

foam-workspace/
├── .vscode/
│   ├── extensions.json      # Recommended extensions
│   └── settings.json        # VS Code settings
├── .foam/
│   └── templates/           # Note templates (.md and .js)
├── journals/                # Daily notes (default location)
├── attachments/             # Images and files
├── *.md                     # Your notes
└── foam.json (optional)     # Foam configuration

Core Concepts

Wikilinks

Create connections between notes using double brackets:

See also [[related-concept]] for more information.
  • Autocomplete with [[ + type note name
  • Navigate with Ctrl+Click (or Cmd+Click on Mac)
  • Create new notes by clicking non-existent links
  • Link to sections: [[note-name#Section Title]]

See references/wikilinks.md for complete documentation.

Backlinks

Backlinks show which notes reference the current note — discovered automatically by Foam.

Access via:

  • Command palette: "Explorer: Focus on Connections"
  • Shows forward links, backlinks, or both

Use backlinks for:

  • Finding unexpected connections between ideas
  • Identifying hub concepts (notes with many backlinks)
  • Building context around ideas across domains

See references/backlinks.md for complete documentation.

Tags

Organize notes beyond wikilinks:

# Inline tags
#machine-learning #research #in-progress

# Frontmatter tags
---
tags: [machine-learning, research, in-progress]
---
  • Hierarchical: #programming/python
  • Browse in Tag Explorer panel
  • Search: "Foam: Search Tag"

See references/tags.md for complete documentation.

Daily Notes

Quick daily journaling:

  • Shortcut: Alt+D
  • Command: "Foam: Open Daily Note"
  • Snippets: /today, /yesterday, /tomorrow

Template: .foam/templates/daily-note.md

See references/daily-notes.md for complete documentation.

Templates

Customize note creation. Foam looks for templates in .foam/templates/.

To initialize starter templates:

python3 scripts/init_templates.py

This copies official Foam templates to your workspace:

  • new-note.md — Default template
  • daily-note.md — Daily notes template
  • your-first-template.md — Example with VS Code snippets

Markdown templates (.md):

---
foam_template:
  filepath: '$FOAM_CURRENT_DIR/$FOAM_SLUG.md'
---

# $FOAM_TITLE

Created: $FOAM_DATE_YEAR-$FOAM_DATE_MONTH-$FOAM_DATE_DATE

$FOAM_SELECTED_TEXT

JavaScript templates (.js) — for smart, context-aware templates.

See references/templates.md for complete documentation.

Common Tasks

Creating a New Note

When creating notes programmatically (not via VS Code), always read the workspace template in .foam/templates/new-note.md first and follow its structure exactly.

In VS Code:

  1. Use "Foam: Create New Note" for default template
  2. Use "Foam: Create New Note From Template" to choose template
  3. Or click a non-existent wikilink [[new-note]]

Finding Note Relationships

  1. Backlinks: Check Connections panel for linked notes
  2. Graph View: Command "Foam: Show Graph" for visual network
  3. Tag Explorer: Browse notes by tag

Working with Embeds

Include content from other notes:

![[glossary]]

See the full definition above.

Publishing

Foam can publish to static sites:

  • GitHub Pages (built-in template)
  • Netlify
  • Vercel
  • GitLab Pages
  • Custom static site generators (Gatsby, MkDocs, etc.)

See recipes in Foam documentation for publishing options.

Foam vs Obsidian

FeatureFoamObsidian
Wikilinks[[note]][[note]]
Embeds![[note]]![[note]]
PlatformVS CodeDedicated app
Plugin ecosystemMinimal (VS Code extensions)Extensive
File formatStandard MarkdownMarkdown with extensions
Configuration.vscode/settings.json.obsidian/ folder
PriceFreeFreemium

Both use the same core linking syntax. Foam prioritizes simplicity and standard formats.

Configuration

Key .vscode/settings.json options:

{
  "foam.openDailyNote.onStartup": true,
  "foam.dateSnippets.format": "yyyy-mm-dd",
  "markdown.styles": [".foam/css/custom.css"]
}

Foam CLI Commands

Key VS Code commands:

  • Foam: Open Daily Note — Create/open today's note
  • Foam: Create New Note — Create from default template
  • Foam: Create New Note From Template — Choose template
  • Foam: Create New Template — Create new template
  • Foam: Show Graph — Visualize knowledge graph
  • Foam: Search Tag — Search for tagged notes
  • Explorer: Focus on Connections — Show backlinks panel

Reference Documentation

  • foam-overview.md — General Foam introduction and philosophy
  • wikilinks.md — Complete wikilinks guide
  • backlinks.md — Backlinks and knowledge discovery
  • tags.md — Tag organization and filtering
  • daily-notes.md — Daily note workflows
  • templates.md — Template creation (Markdown and JavaScript)

Read these files for detailed information on specific features.

External Resources

  • Official site: https://foamnotes.com
  • GitHub: https://github.com/foambubble/foam
  • Discord: https://foambubble.github.io/join-discord/w

Tips

  1. Start small: Foam works best with consistent note-taking habits
  2. Link liberally: Create wikilinks even to non-existent notes (placeholders)
  3. Use the graph: Visualize your knowledge network to find gaps
  4. Trust the process: Backlinks reveal connections you didn't plan
  5. Keep it standard: Foam uses standard Markdown — your notes remain portable

平台分布

OpenClaw

81.84%
按下载量换算9,381

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills