ワンクリックで
capture-screenshot
Capture a browser screenshot for task validation and attach it to the active task using attach_task_file.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Capture a browser screenshot for task validation and attach it to the active task using attach_task_file.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use task-factory CLI commands to manage workspaces, tasks, and workflows. Use when the user needs to create tasks, manage task execution, check queue status, or work with the Task Factory system via CLI.
Create a branch, commit all agent changes, push, and open a pull request. Use when work is ready for review and should be submitted as a PR rather than just checkpointed.
Commit and push the agent's current work without opening a PR. Stages only files modified by the agent, creates a descriptive commit message, and pushes to the current branch.
Review all code changes for bugs, edge cases, naming, complexity, and missing error handling. Use after completing implementation work to catch issues before marking a task complete.
Repeatedly check if there is more work to do until the task is truly complete. Use after implementation to ensure nothing was missed against the acceptance criteria.
Scan code changes for security vulnerabilities including OWASP Top 10, hardcoded secrets, injection flaws, and authentication issues. Use after implementation to catch security problems before marking a task complete.
| name | capture-screenshot |
| description | Capture a browser screenshot for task validation and attach it to the active task using attach_task_file. |
| allowed-tools | Bash(agent-browser:*), attach_task_file |
| metadata | {"author":"task-factory","version":"1.0","type":"follow-up","hooks":"pre-planning,pre,post"} |
Capture visual proof of the current app state and attach it to the task.
Open the app
http://localhost:3000 unless task context specifies another URL.Take screenshot to a known path
mkdir -p .pi/tmp/screenshots
agent-browser open http://localhost:3000
agent-browser wait --load networkidle
agent-browser screenshot .pi/tmp/screenshots/validation-$(date +%s).png
attach_task_file with the screenshot path.taskId if you can read it from the task context; otherwise omit it.Example tool call:
attach_task_file({
path: ".pi/tmp/screenshots/validation-12345.png",
taskId: "<TASK_ID>",
filename: "validation-screenshot.png"
})
attach_task_file.