inspiration-bank

Automatically organize fragmented inspirations into structured inspiration cards and persistently store them; supports daily aggregation to generate inspiration snapshots, monthly weaving of inspiration maps, and theme clustering analysis. Use when you need to record inspiration fragments at any time, organize creative ideas, generate daily or monthly inspiration reports, review creative trajectories, or discover deep connections between inspirations.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "inspiration-bank" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-ca1fa9ae47e25fab8ae46f5cd7ab275de560c4de03b1c06f05331cc778df3a3d. Verify the upstream source and version against https://skillhub.cn/skills/user_fb52ff21/a1d88aca-5cdd-41bf-960b-79601e994ec4 before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Automatically organize fragmented inspirations into structured inspiration cards and persistently store them; supports daily aggregation to generate inspiration snapshots, monthly weaving of inspiration maps, and theme clustering analysis. Use when you need to record inspiration fragments at any time, organize creative ideas, generate daily or monthly inspiration reports, review creative trajectories, or discover deep connections between inspirations.

0 Downloads

Introduction source: third_party · user_fb52ff21 · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Translation pending; see source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Translation pending; see source documentation.
Limits and differences
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: inspiration-bank
description: 将碎片化灵感自动整理为结构化灵感卡片并持久化存储,支持按日聚合生成灵感快照、按月编织灵感地图与主题聚类分析;当用户需要随时记录灵感碎片、整理创意想法、生成每日或月度灵感报告、回顾创作轨迹或发现灵感间的深层关联时使用

AI 碎片灵感银行

任务目标

  • 本 Skill 用于:将用户随口说出的灵感碎片转化为结构化灵感卡片,并支持按日/月维度聚合分析
  • 能力包含:灵感卡片生成与存储、每日快照聚合、月度灵感地图编织(含脚本级聚类预处理)、语义关联推荐、多维灵感检索(关键词/标签/类型/情绪/日期)、卡片导出(Markdown/图片)、跨设备同步、统计与卡片更新纠错
  • 触发条件:用户说"记一下灵感"、"我有个想法"、"帮我记录"、"今天灵感汇总"、"月度灵感地图"、"导出灵感"、"同步灵感"等

前置准备

  • 数据存储:灵感卡片按月分片,以 JSON 格式存储在 ./inspiration_data/YYYY-MM.json
  • 脚本依赖:Python 3.7+(标准库,无额外依赖)

操作步骤

流程一:即时存入灵感卡片

当用户表达一个灵感碎片时,执行以下步骤:

步骤 1:生成灵感卡片内容

根据用户输入的原始内容,按以下规则生成结构化灵感卡片:

  1. 标题:提炼精准标题,不超过10个字
  2. 关键词:提取3-5个核心关键词
  3. 类型:故事创意 / 文章选题 / 产品点子 / 人生感悟 / 学习方法 / 其他
  4. 扩展方向:给出3个可深入发展的方向,每个方向一句话
  5. 情绪标签:初步推断情绪——兴奋 / 焦虑 / 好奇 / 困惑 / 平静 / 感动
  6. 自定义标签(可选):根据内容提炼1-3个分类标签,便于后续多维检索(如 #写作 #AI #副业)。标签与关键词的区别:关键词描述灵感本身的内容特征,标签用于跨灵感的主观分类归组
  7. 关联建议:留空,由脚本自动计算(步骤2)

卡片格式详见 references/card_template.md

步骤 2:存储灵感卡片(含自动关联)

python scripts/inspiration_bank.py store --card '{"title":"标题","keywords":["关键词1","关键词2"],"type":"类型","expansion_directions":["方向1","方向2","方向3"],"emotion":"情绪","tags":["标签1","标签2"],"content_raw":"用户原始输入"}'

脚本自动执行:

  • 验证字段格式和枚举值
  • 计算与已有卡片的语义相似度(关键词Jaccard + 标签Jaccard + 标题字符相似度 + 类型加权)
  • 在返回结果中包含 auto_association.related_cards(最相似的3张卡片及相似度分数)
  • 数据按月分片存储到 ./inspiration_data/YYYY-MM.json

步骤 3:展示卡片并确认情绪

向用户展示生成的灵感卡片:

---灵感卡片 #ID---
标题:xxx
关键词:#关键词1 #关键词2 #关键词3
标签:🏷标签1 🏷标签2
类型:xxx
扩展方向:
  1. xxx
  2. xxx
  3. xxx
情绪:xxx  <-- 请确认或修正
关联:与「xxx」相似(相似度0.xx)
---

主动询问用户:情绪标签是否准确?若用户修正,调用 update 命令更新:

python scripts/inspiration_bank.py update --id CARD_ID --fields '{"emotion":"修正后的情绪"}'

流程二:每日灵感快照

当用户要求查看当日灵感汇总时:

步骤 1:获取当日所有卡片

python scripts/inspiration_bank.py daily --date YYYY-MM-DD

不指定日期默认返回当天。返回内容包含卡片列表和统计信息(类型分布、关键词频率)。

步骤 2:生成快照内容

基于返回数据,生成"今日灵感快照":

  • 今日灵感数量统计
  • 按类型分布概览
  • 关键词云(出现频率最高的关键词)
  • 今日最佳灵感推荐(选择最有深度或最独特的一条)
  • 一句话总结今日创意方向

流程三:月度灵感地图

当用户要求生成月度灵感地图时:

步骤 1:运行聚类预处理

先调用脚本获取结构化聚类数据,为后续分析提供数据支撑:

python scripts/inspiration_bank.py cluster --month YYYY-MM --clusters 5

返回内容包含:

  • keyword_frequency:关键词频率排名
  • keyword_cooccurrence:关键词共现矩阵(哪些关键词经常一起出现)
  • top_idf_keywords:TF-IDF 最高的关键词(最能区分不同灵感的关键词)
  • card_similarity_top:卡片间相似度排名(哪些灵感最相关)
  • suggested_clusters:脚本建议的主题簇(每簇包含卡片ID列表、核心关键词、类型分布)

步骤 2:基于预处理数据生成灵感地图

结合脚本返回的聚类数据和卡片内容,生成"月度灵感地图":

  1. 主题聚类:参考 suggested_clusters,为每个簇命名一个主题,并结合簇内卡片的 top_keywords 提炼核心关键词
  2. 核心洞察:为每个主题簇提炼一个核心洞察(一句话总结该主题下的创意趋势)
  3. 创作方向推荐:基于已有灵感素材,推荐3个"可以立即开始创作"的方向
  4. 月度高光:生成鼓励语——"这个月你最了不起的创意瞬间是..."
  5. 关键词统计:使用 keyword_frequency 数据列出本月最高频的10个关键词
  6. 灵感关联图:基于 card_similarity_top 数据,用文字符号表达各主题簇之间的关联关系

步骤 3:可选导出

python scripts/inspiration_bank.py monthly --month YYYY-MM --export ./monthly_report.json

流程四:多维灵感检索

当用户需要按多种条件查找灵感时,使用增强版 search 命令进行多维组合检索:

基础关键词搜索(向后兼容)

python scripts/inspiration_bank.py search --keyword "AI"

多关键词组合搜索

# OR 逻辑(默认):任一关键词命中即返回
python scripts/inspiration_bank.py search --keywords "AI,照片,整理" --logic or

# AND 逻辑:所有关键词都须命中
python scripts/inspiration_bank.py search --keywords "焦虑,行动" --logic and

按标签检索

python scripts/inspiration_bank.py search --tags "写作,副业" --logic or

多维组合过滤(关键词 + 标签 + 类型 + 情绪 + 日期范围)

python scripts/inspiration_bank.py search \
  --keywords "极简,手机" \
  --tags "写作" \
  --type "文章选题" \
  --emotion "好奇" \
  --date-from "2025-01-01" \
  --date-to "2025-06-30" \
  --logic or \
  --limit 20

检索逻辑说明:

  • --keyword / --keywords:在标题、关键词、原文、扩展方向中搜索,标题命中权重最高(3分),关键词次之(2分),原文/扩展方向各1分
  • --tags:仅匹配卡片的 tags 字段(精确匹配,非模糊)
  • --type / --emotion:精确枚举过滤
  • --date-from / --date-to:日期范围过滤(含边界)
  • --logic:控制多关键词和多标签的匹配逻辑。and 要求全部命中,or 要求任一命中。不同维度(关键词 vs 标签 vs 类型)之间始终为 AND 关系
  • --limit:限制返回数量
  • 结果按 relevance_score 降序排列

流程五:灵感卡片导出

当用户要求导出灵感卡片以便分享或存档时,使用 export 命令:

导出单张卡片为 Markdown

python scripts/inspiration_bank.py export --id CARD_ID --format markdown --output ./card.md

导出单张卡片为图片(SVG)

python scripts/inspiration_bank.py export --id CARD_ID --format image --output ./card.svg

SVG 图片包含:标题、类型/情绪徽章、关键词标签、自定义标签、扩展方向列表、原文引用块、卡片ID和日期。可直接在浏览器中打开查看,也可转换为 PNG/JPG 分享。

导出整月灵感为 Markdown

python scripts/inspiration_bank.py export --month 2025-07 --format markdown --output ./july_inspirations.md

导出整月灵感为图片(每张卡片一个 SVG 文件)

python scripts/inspiration_bank.py export --month 2025-07 --format image --output ./july_cards

导出全部灵感

python scripts/inspiration_bank.py export --all --format markdown --output ./all_inspirations.md

导出文件默认存放在 ./inspiration_exports/ 目录下。Markdown 适合文本分享和二次编辑,SVG 适合视觉化分享(社交媒体、演示文稿)。

流程六:跨设备同步

当用户需要在不同设备间同步灵感数据时,提供以下三种策略:

策略一:云盘目录直存(推荐,全自动)

将 --data-dir 指向云盘同步目录(iCloud Drive / Dropbox / OneDrive / 坚果云等),所有读写自动跨设备同步:

# macOS iCloud Drive 示例
python scripts/inspiration_bank.py store --data-dir "~/Library/Mobile Documents/com~apple~CloudDocs/inspiration_data" --card '{...}'

# Dropbox 示例
python scripts/inspiration_bank.py stats --data-dir "~/Dropbox/inspiration_data"

注意事项:

  • 确保所有设备使用相同的 --data-dir 路径
  • 避免多设备同时写入同一月度文件(可能导致云盘冲突副本)
  • 云盘同步可能存在延迟,新设备首次使用前建议等待同步完成

策略二:Bundle 导入导出(手动传输,适合无云盘场景)

在源设备导出全部数据为便携 JSON bundle,传输到目标设备后导入合并:

# 源设备:导出同步包
python scripts/inspiration_bank.py sync export --output ./inspiration_sync.json

# 目标设备:导入同步包(自动按卡片ID去重合并)
python scripts/inspiration_bank.py sync import --input ./inspiration_sync.json --data-dir ./inspiration_data

合并规则:导入时按卡片 id 去重,已存在的卡片自动跳过(不覆盖本地修改)。导入结果返回新增数量和跳过数量。

策略三:Git 仓库同步(适合技术用户)

将 inspiration_data/ 目录纳入 Git 版本管理:

cd your-repo
python scripts/inspiration_bank.py --data-dir ./inspiration_data store --card '{...}'
git add inspiration_data/
git commit -m "sync inspirations"
git push
# 另一台设备 git pull 即可获取最新数据

建议:配置 .gitignore 忽略 inspiration_exports/ 等临时导出目录,仅同步原始数据。

辅助操作

语义关联查询:查看某张灵感与其他灵感的关联

python scripts/inspiration_bank.py relate --id CARD_ID --top 5

更新卡片:修正已有卡片的字段(情绪/标题/关键词/类型/扩展方向/关联/标签)

python scripts/inspiration_bank.py update --id CARD_ID --fields '{"emotion":"好奇","tags":["写作","AI"],"associations":"新关联说明"}'

全局统计:

python scripts/inspiration_bank.py stats

使用示例

示例1:即时记录灵感

  • 场景/输入:用户说"我觉得可以做一个帮人整理手机照片的APP,按时间线自动分类"
  • 预期产出:生成灵感卡片(含可选标签如 #产品 #AI),脚本自动发现与已有"AI生活助手"灵感相似(相似度0.65),展示卡片后询问用户情绪是否准确
  • 关键要点:若用户说"情绪应该是好奇不是兴奋",立即调用 update 修正

示例2:查看今日快照

  • 场景/输入:用户说"帮我看看今天都记了哪些灵感"
  • 预期产出:获取当日卡片及统计,生成今日灵感快照
  • 关键要点:若当日无灵感,提示用户并鼓励记录

示例3:生成月度灵感地图

  • 场景/输入:用户说"帮我生成本月的灵感地图"
  • 预期产出:先运行 cluster 获取聚类预处理数据(关键词频率矩阵、共现关系、建议主题簇),再基于此生成包含洞察、推荐、高光的完整灵感地图
  • 关键要点:聚类不是纯LLM推理,而是基于脚本提供的TF-IDF和相似度数据做二次分析,确保一致性

示例4:多维检索灵感

  • 场景/输入:用户说"帮我找找跟AI和照片有关的、产品类的灵感"
  • 预期产出:执行 search --keywords "AI,照片" --type "产品点子" --logic or,返回按相关性排序的匹配卡片
  • 关键要点:多维度组合检索,结果带 relevance_score 评分便于判断匹配度

示例5:导出灵感卡片分享

  • 场景/输入:用户说"把那张'智能照片整理APP'的灵感导出成图片给我看看"
  • 预期产出:执行 export --id CARD_ID --format image,生成 SVG 卡片图片,用户可直接在浏览器查看或分享
  • 关键要点:SVG 格式可缩放不失真,也可用工具转换为 PNG/JPG

示例6:跨设备同步

  • 场景/输入:用户说"我在公司电脑上记的灵感,想同步到家里电脑"
  • 预期产出:在公司电脑执行 sync export 生成 bundle 文件,传输后在家庭电脑执行 sync import,自动合并去重
  • 关键要点:导入按卡片ID去重,不会覆盖目标设备已有的修改

资源索引

  • 脚本:见 scripts/inspiration_bank.py(灵感数据管理工具 v3,支持11个子命令:store/list/daily/monthly/search/stats/cluster/relate/update/export/sync)
  • 参考:见 references/card_template.md(灵感卡片格式定义、枚举值、存储规范、同步机制和完整示例,生成卡片时参考)

注意事项

  • 情绪标签为初步推断,展示卡片后必须询问用户确认或修正
  • 月度地图先调用 cluster 获取预处理数据,再结合LLM分析生成,避免纯推理导致聚类不一致
  • 数据按月分片存储(YYYY-MM.json),首次使用自动迁移旧格式单文件
  • 关联推荐基于关键词Jaccard相似度 + 标签Jaccard相似度 + 标题字符相似度 + 类型加权,无需外部API
  • 数据文件路径默认为 ./inspiration_data/,可通过 --data-dir 参数自定义(指向云盘目录可实现自动跨设备同步)
  • 跨设备同步:推荐使用云盘目录直存(策略一);无云盘时使用 sync export/import bundle 传输(策略二);技术用户可用 Git 版本管理(策略三)。详见"流程六"
  • 多维检索:search 命令支持关键词(多值)、标签、类型、情绪、日期范围组合过滤,不同维度间为 AND 关系,同维度内多值由 --logic 控制
  • 导出:export 命令支持 Markdown(文本分享)和 SVG 图片(视觉分享)两种格式,单卡或批量导出
  • 标签 vs 关键词:关键词描述灵感内容特征(自动提取),标签用于主观分类归组(可手动指定),两者共同参与相似度计算和检索

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 提供从灵感记录、结构化存储、聚合分析到导出同步的完整闭环
  • 支持多维检索与语义关联,显著提升创意工作者效率
Trigger Precision90/100

Highlights

  • 触发词覆盖多种自然表达,边界清晰,不易误触或漏触
Structure and Standards95/100

Highlights

  • 流程划分清晰,步骤完整,含端到端示例与资源索引
Execution Reliability90/100

Areas to improve

  • description写错位置 Reported severity: Minor

    顶层 frontmatter 与 skill_body 内部均包含完整 description,存在重复

    Recommendation: 建议仅保留顶层 frontmatter 中的 description,移除 skill_body 内部重复内容以符合规范

Highlights

  • 脚本参数规范,异常处理完善,跨设备同步机制可靠
Evidence Verifiability (mean of the first four)90/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Translation pending; see source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.