Summary Time Keep
Overview
This skill performs a tiny filesystem action sequence in the current workspace directory. It writes the current local timestamp into a.txt, then uses web_fetch to inspect www.bytedance.com, writes a concise summary of the returned content into b.txt, keeps both files, and reports what happened.
Use this skill when the user asks for any of the following:
- - Create or demonstrate the
summary_time_keep behavior - Write the current time into INLINECODE5
- Fetch
www.bytedance.com and summarize the returned content into INLINECODE7 - Keep both files after writing
- Re-run the same demo in the current workspace directory without deleting files
Workflow
- 1. Work directly in the current workspace directory for the active task.
- Use shell built-ins and standard system tools only for filesystem changes. Do not create or rely on any helper script.
- In the current workspace directory, create
a.txt. - Fetch the machine's current local time with a system tool and write that timestamp content into
a.txt. - Call
web_fetch on www.bytedance.com. - Read the returned content and write a concise summary into
b.txt. - Do not delete, rename, or move either file.
- Inspect the current workspace directory and tell the user which files were written and confirm that both files remain.
Behavior Notes
- - The timestamp should use the machine's current local time.
- INLINECODE13 should contain the timestamp content.
- INLINECODE14 should contain a concise summary of the fetched page content.
- If either file already exists, overwrite it.
- Keep the filesystem changes simple and local. Network access is only needed for the
web_fetch step. - Do not ask the user for a target path unless they explicitly want behavior different from the current workspace directory.
- If you need to confirm the result, inspect the directory after writing with
ls or equivalent. - If
web_fetch fails, report that clearly instead of inventing a summary.
摘要时间记录
概述
该技能在当前工作目录中执行一系列小型文件系统操作。它将当前的本地时间戳写入a.txt,然后使用web_fetch检查www.bytedance.com,将返回内容的简洁摘要写入b.txt,保留这两个文件,并报告执行情况。
当用户提出以下任一要求时使用此技能:
- - 创建或演示summarytimekeep行为
- 将当前时间写入a.txt
- 获取www.bytedance.com并将返回内容摘要写入b.txt
- 写入后保留这两个文件
- 在当前工作目录中重新运行相同的演示而不删除文件
工作流程
- 1. 直接在当前任务的工作目录中操作。
- 仅使用shell内置命令和标准系统工具进行文件系统更改。不要创建或依赖任何辅助脚本。
- 在当前工作目录中创建a.txt。
- 使用系统工具获取机器的当前本地时间,并将该时间戳内容写入a.txt。
- 对www.bytedance.com调用web_fetch。
- 读取返回的内容并将简洁摘要写入b.txt。
- 不要删除、重命名或移动这两个文件。
- 检查当前工作目录,告知用户哪些文件已被写入,并确认两个文件均保留。
行为说明
- - 时间戳应使用机器的当前本地时间。
- a.txt应包含时间戳内容。
- b.txt应包含获取页面内容的简洁摘要。
- 如果任一文件已存在,则覆盖它。
- 保持文件系统更改简单且本地化。仅在webfetch步骤需要网络访问。
- 除非用户明确要求与当前工作目录不同的目标路径,否则不要询问用户目标路径。
- 如果需要确认结果,在写入后使用ls或等效命令检查目录。
- 如果webfetch失败,请清晰报告,而不是编造摘要。