interaction-logger
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-04-05
- Stars
- ★ 7
- Forks
- 1
02 资源文件 5
- 参考文档_meta.json293 B
- 脚本log.js5.8 KB
- 参考文档package.json357 B
- 参考文档sync_state.json144 B
- 脚本sync.js6.5 KB
03 SKILL.md 正文
Interaction Logger
A robust utility for appending interaction logs to user-specific history files. It abstracts away JSON parsing, file I/O, and schema validation.
Usage
node skills/interaction-logger/log.js --target <target_alias> --role <role> --content <message>
Arguments
--target: The user alias.zhy,shiqi,master->memory/master_history.jsonfmw,big-brother->fmw/history.json
--role: Who is speaking (user|assistant|system). Default:assistant.--content: The text content to log.
Why use this?
- Safety: Prevents JSON syntax errors from manual editing.
- Convenience: One-line command vs multi-step read/edit/write.
- Compliance: Ensures mandatory logging rules (from MEMORY.md) are actually followed.
Features
- Atomic Writes: Uses
.tmpfile + rename to prevent corruption on crash. - Log Rotation: Automatically rotates log files when they exceed 5MB to
filename_YYYY-MM-DD-HHmmss.json. - Dynamic Targets: Auto-creates log files for new users in
memory/users/.
04 同仓库更多 Skills
zyfai
Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit/withdraw anytime.
zerion-api
暂无简介
zerion-api-skill
暂无简介
zerion-api-mcp
暂无简介
yahoo-finance-forex
Fetches real-time FOREX news and market data from Yahoo Finance for major currency pairs (EUR/USD, GBP/USD, USD/JPY, etc.). Analyzes sentiment and provides trading context.
yahoo-finance
This skill should be used when the user asks to "get stock prices", "check stock quotes", "look up earnings", "get financial data", "find trending stocks", or needs stock market data from Yahoo Finance.