← 返回 Skills 市场
388
总下载
0
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install file-memory-billing
功能描述
文件化记忆与任务归档工作流。用户提到“不要依赖上下文/建立md档案/会话接力/清理上下文/长期任务持续交接”时使用:先建任务档案,再把关键信息写入ops与memory文件,按文件而非聊天历史继续工作。
使用说明 (SKILL.md)
File Memory Workflow
目标:不依赖长聊天上下文,靠文件稳定接力。
Billing(SkillPay)
每次调用先尝试扣费(默认 10 tokens = 0.01 USDT)。
- 脚本:
{baseDir}/scripts/skillpay-charge.mjs - 必需环境变量:
SKILL_BILLING_API_KEYSKILL_ID
- 可选环境变量:
SKILL_BILLING_URL(默认https://skillpay.me/api/v1/billing)SKILL_BILLING_TOKENS(默认10)
示例:
node {baseDir}/scripts/skillpay-charge.mjs --user-id "\x3Cuser-id>" --amount 10
返回:
charged: true→ 继续执行 skillcharged: false且有payment_url→ 把充值链接返回给用户
必做规则
- 先建任务档案,再开始执行。
- 每次阶段完成都更新档案,不留“只在聊天里”的关键信息。
- 代码类任务完成后,记录 commit 与验证步骤。
- 需要长期记忆时,写入
MEMORY.md或memory/YYYY-MM-DD.md。
标准目录
- 项目任务:
\x3Crepo>/ops/tasks/TASK-YYYYMMDD-HHMM.md - 项目交接:
\x3Crepo>/ops/HANDOFF.md - 过程日志:
\x3Crepo>/ops/WORKLOG.md - 后续计划:
\x3Crepo>/ops/NEXT_STEPS.md - 决策记录:
\x3Crepo>/ops/DECISIONS.md - 全局日记:
\x3Cworkspace>/memory/YYYY-MM-DD.md - 长期记忆:
\x3Cworkspace>/MEMORY.md(仅主会话加载)
新任务流程
- 创建任务档案
TASK-*.md,写:目标、验收标准、风险、执行记录。 - 执行任务。
- 完成后更新:
ops/WORKLOG.md(做了什么)ops/NEXT_STEPS.md(下一步)ops/DECISIONS.md(为什么这么做)
- 若有代码改动:提交 commit,并在任务档案写明 commit hash。
回复用户格式
- 任务ID:
TASK-... - 状态:进行中/已完成
- 产出:文件/commit
- 下一步:一句话
注意
- 不把敏感信息写入仓库。
- 当用户要求“清上下文”时,不删历史事实,改为确保关键内容已文件化并从文件继续。
安全使用建议
This skill will attempt to charge users by POSTing to an external billing endpoint before each invocation. Before installing: (1) Confirm you trust the billing provider (default SKILL_BILLING_URL = https://skillpay.me) and the skill author; (2) be aware you must supply SKILL_BILLING_API_KEY and SKILL_ID (SKILL_ID is required by the script but not declared in registry metadata) and that the API key will be sent as X-API-Key to the billing endpoint; (3) consider testing in a sandbox with a throwaway API key and verifying the script's behavior locally (the included scripts/skillpay-charge.mjs is short and readable); (4) if you expect this skill to be free, ask the author why billing is enforced and request metadata corrections (declare SKILL_ID, list required env vars, and document the billing endpoint); (5) avoid putting sensitive secrets into the files the skill writes. If the author can explain/rectify the metadata mismatch and prove the billing endpoint is legitimate, this becomes more coherent.
功能分析
Type: OpenClaw Skill
Name: file-memory-billing
Version: 0.1.1
The skill implements a structured file-based memory and task-archiving workflow, including an integrated billing mechanism via the `scripts/skillpay-charge.mjs` script. This script communicates with an external billing API (https://skillpay.me/api/v1/billing) to manage token-based charges as documented in `SKILL.md`. The code is transparent, lacks obfuscation, and does not perform unauthorized data exfiltration or system modifications beyond its stated purpose of file management and usage accounting.
能力评估
Purpose & Capability
The described purpose is file-based memory and task archiving. The skill includes an integrated billing step (charge before each invocation) that is not mentioned in the registry description or required-env list — charging logic can legitimately exist, but requiring an API key and skill ID to call an external billing API is a capability beyond pure 'file memory' and should be explicitly declared in metadata.
Instruction Scope
SKILL.md instructs the agent to run the included node script to POST billing requests to an external endpoint before continuing. The workflow also directs creation and updating of files in workspace/repo paths (ops/, memory/), which is coherent with the skill purpose. The main concern: the instructions rely on an undeclared required env (SKILL_ID) and an external billing URL (skillpay.me) that will receive data and the API key; that network call is outside the core file-memory domain and should be clearly justified to users.
Install Mechanism
No install spec; this is instruction-only with one small included Node script. There's no download from external hosts or archive extraction. Risk is low from installation mechanics.
Credentials
Registry metadata lists no required env vars but declares SKILL_BILLING_API_KEY as primaryEnv. The runtime script requires SKILL_BILLING_API_KEY and SKILL_ID (and optionally SKILL_BILLING_URL/TOKENS). The undeclared SKILL_ID and the fact that an API key will be transmitted to an external endpoint are disproportionate relative to the basic file-memory purpose and are inconsistent across metadata and SKILL.md.
Persistence & Privilege
The skill does not request always:true, does not modify other skills, and does not assert system-wide persistence. It writes files into workspace/repo per its stated workflow, which is within expected scope.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install file-memory-billing - 安装完成后,直接呼叫该 Skill 的名称或使用
/file-memory-billing触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.1
Route paid execution to private billing gateway; default 0.01 USDT per call.
v0.1.0
Initial paid release with SkillPay billing helper (0.01 USDT default).
元数据
常见问题
File Memory Copilot 是什么?
文件化记忆与任务归档工作流。用户提到“不要依赖上下文/建立md档案/会话接力/清理上下文/长期任务持续交接”时使用:先建任务档案,再把关键信息写入ops与memory文件,按文件而非聊天历史继续工作。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 388 次。
如何安装 File Memory Copilot?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install file-memory-billing」即可一键安装,无需额外配置。
File Memory Copilot 是免费的吗?
是的,File Memory Copilot 完全免费(开源免费),可自由下载、安装和使用。
File Memory Copilot 支持哪些平台?
File Memory Copilot 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 File Memory Copilot?
由 fusu(@shr860910)开发并维护,当前版本 v0.1.1。
推荐 Skills