interaction-logger
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
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
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.