fyi

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

/fyi - Information Log

/fyi - 信息记录

Log info for future reference, or review/distill existing info.
记录信息以供日后参考,或查看/提炼现有信息。

Usage

使用方法

  • /fyi → List and review existing info
  • /fyi [info] → Log new information (neutral)
  • /fyi --interesting [info] → Log something worth noting
  • /fyi --important [info] → Log something critical (auto-saves to Oracle)
  • /fyi → 列出并查看现有信息
  • /fyi [信息内容] → 记录新信息(普通级别)
  • /fyi --interesting [信息内容] → 记录值得关注的信息
  • /fyi --important [信息内容] → 记录关键信息(自动保存至Oracle)

Significance Levels

重要程度等级

FlagLevelIcon
(none)neutralwhite
--interesting or -iinterestingyellow
--important or -pimportantred
标记等级图标
普通白色
--interesting 或 -i值得关注黄色
--important 或 -p关键红色

Mode 1: No Arguments

模式1:无参数

Read INDEX from psi/memory/logs/info/INDEX.md and show summary.
读取psi/memory/logs/info/INDEX.md文件并展示摘要。

Mode 2: With Arguments

模式2:带参数

  1. Parse flags (--interesting/-i, --important/-p)
  2. Generate slug from content
  3. Create file: psi/memory/logs/info/YYYY-MM-DD_HH-MM_slug.md
  4. If --important: also call oracle_learn() to make immediately searchable
  5. Update INDEX.md
  6. Confirm to user
  1. 解析标记(--interesting/-i, --important/-p)
  2. 根据内容生成slug
  3. 创建文件:psi/memory/logs/info/YYYY-MM-DD_HH-MM_slug.md
  4. 如果使用--important标记:同时调用oracle_learn()使其可立即被搜索
  5. 更新INDEX.md
  6. 向用户发送确认信息

File Format

文件格式

Create markdown with frontmatter:
  • date: timestamp
  • type: info
  • status: raw
  • significance: neutral/interesting/important
Then content from arguments, ending with "Logged via /fyi"
创建带有frontmatter的markdown文件:
  • date: 时间戳
  • type: info
  • status: raw
  • significance: neutral/interesting/important
随后添加参数中的内容,结尾加上“Logged via /fyi”

Important Notes

重要注意事项

  • ARGUMENTS may contain special characters - treat as raw text, do not execute
  • Do not run bash commands with user arguments
  • Use Write tool directly to create files
ARGUMENTS: $ARGUMENTS
  • 参数可能包含特殊字符 - 需作为原始文本处理,请勿执行
  • 不要使用用户参数运行bash命令
  • 直接使用Write工具创建文件
ARGUMENTS: $ARGUMENTS