Hands-free mode
Claude Code’s /loop command re-runs a prompt on an interval. Pointed at ARTEX, it turns into an autonomous engagement driver:
/loop 5m Continue the pentest: call graph_overview, assess progress, dispatch subagents for open intents, prove goals when evidence exists.Every five minutes Claude checks the graph, dispatches work for open intents, records results, and proves goals when the evidence is there. You can watch it run, steer it, or walk away and review the findings later.
Why it works
Section titled “Why it works”Each iteration starts from graph_overview, not from conversation memory. The exploration graph holds the goals, the open, running and done intents, the facts, findings, credentials and coverage. That means:
- No repeated work. Done intents and coverage records tell Claude what has already been tested.
- Context loss is harmless. If the conversation is compacted or restarted, the next iteration rebuilds its picture from the graph.
- Stale work is visible. Intents left in
runningwith no recent progress belong to an earlier session; Claude replaces them.
Steering
Section titled “Steering”You do not have to stop the loop to change direction:
add_hintattaches a strategic hint the planner sees on the nextgraph_overview. Ask Claude to add one, or say it directly in the conversation.set_constraintsadds allow or deny rules for operations.add_company_scopeandadd_task_scopewiden or narrow what is in scope;check_scopeis enforced by the asset, enrich and traffic tools.- In the web UI, intercept rules can require your approval for specific tool calls.
Parallel work
Section titled “Parallel work”Claude Code can dispatch subagents. A common pattern is one subagent per open intent, each recording its own facts, coverage and findings into the shared graph. The walkthrough shows this in detail.
Stopping
Section titled “Stopping”Interrupt the loop in Claude Code. Nothing is lost: facts, findings and credentials are persisted the moment they are recorded. When you are done, goal_met marks the engagement complete and generate_report writes the report.