원클릭으로
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.