بنقرة واحدة
restart-nginx
SSH into a server, restart Nginx, and verify it's back up
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
SSH into a server, restart Nginx, and verify it's back up
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Ansible health check discovers host issues → fix one by one (write ops require human approval) → re-inspect → repeat until all healthy → generate HTML report
Iteratively fix all failing tests until the test suite is green
| name | restart-nginx |
| description | SSH into a server, restart Nginx, and verify it's back up |
| user-invocable | true |
| Name | Type | Required | Description |
|---|---|---|---|
| host | string | Yes | Target server hostname or IP |
Before starting execution, initialize task_context.json:
{
"task_id": "<task_id from input>",
"current_step": 0,
"current_step_id": null,
"status": "running",
"steps": {
"restart": "pending",
"verify": "pending"
},
"updated_at": "<ISO timestamp>"
}
Update this file after each step completes. On error, set step status to "failed" and overall status to "failed".
Type: agent Description: SSH in and restart Nginx
Launch an independent agent with the following prompt file:
Dispatch instruction:
SSH into {host} and run systemctl restart nginx
Agent workflow:
Prepare the execution environment
Execute the agent with the prompt
Write results to:
restart_result.jsonAfter completing this step, update task_context.json:
current_step_id to "restart"steps.restart to "completed"Type: agent Description: Verify Nginx is healthy
restart_result.json (from Step restart, schema: schemas/restart.schema.json)Launch an independent agent with the following prompt file:
Dispatch instruction:
curl http://{host}/health and check the status code
Agent workflow:
Read input data from:
schemas/restart.schema.jsonExecute the agent with the prompt
Write results to:
verify_result.jsonAfter completing this step, update task_context.json:
current_step_id to "verify"steps.verify to "completed"