소스 정보
- 저장소
- andrem-sec/psc-comet
- 최근 소스 활동
- 2026년 4월 1일 00:39
- 감지된 SKILL.md 언어
- 영어
- 스타
- 4
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/andrem-sec/psc-comet --skill loop-operator명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | loop-operator |
| description | Autonomous loop management with safety defaults and escalation gates |
| version | 0.1.0 |
| level | 2 |
| triggers | ["/loop-start","/loop-status","autonomous loop","continuous operation"] |
| context_files | ["context/project.md","context/learnings.md"] |
| steps | [{"name":"Define Loop Task","description":"Specify operation, success criteria, and max iterations"},{"name":"Set Safety Mode","description":"Configure safety-guard mode (Careful/Freeze/Guard)"},{"name":"Start Loop","description":"Initiate autonomous operation with monitoring"},{"name":"Monitor Progress","description":"Track iterations, success rate, and errors"},{"name":"Escalation Check","description":"Evaluate if human intervention needed"},{"name":"Report Status","description":"Provide loop metrics and completion status"}] |
Autonomous loop management for repetitive tasks with built-in safety guardrails and automatic escalation.
Without loop operator, autonomous tasks:
Loop operator adds structure, safety, and observability to autonomous operations.
Loop Definition:
Example:
task: Fix all TypeScript errors in src/
success_criteria: tsc --noEmit returns 0 errors
max_iterations: 5
safety_mode: Careful
Use When: Standard development tasks, low risk of data loss.
Behavior: Warns on destructive commands, allows with confirmation.
Example: Refactoring code, running tests, generating reports.
Use When: Operations near sensitive paths (/etc/, ~/.ssh/, credentials).
Behavior: Blocks writes to frozen paths entirely.
Paths: Configured via FREEZE_PATHS env var.
Example: Database migrations, configuration updates, system-level changes.
Use When: Fully autonomous operations, docker-sandbox, permissionMode: dontAsk.
Behavior: Warns on destructive ops AND locks sensitive paths.
Example: Security scans, autonomous agent tasks, production deployments.
Trigger Conditions:
Escalation Actions:
Example:
Loop: Fix TypeScript errors (iteration 3/5)
Error: Cannot find module 'foo'
Escalation: Identical error in iterations 1, 2, 3
Action: Stopping loop, awaiting user input
Purpose: Initiate autonomous loop with monitoring.
Usage:
/loop-start
Task: Fix all linter errors
Success: npm run lint exits 0
Max Iterations: 5
Safety Mode: Careful
Process:
Output: Real-time iteration updates with success/failure status.
Purpose: Check currently running loops.
Output:
Example:
Loop #1: Fix linter errors
Iteration: 3/5
Success Rate: 33% (1/3)
Elapsed: 2m 15s
Status: Running
Last Action: Fixed 5 errors in src/auth.ts
Loop operator activates safety-guard automatically based on safety_mode parameter:
# Before loop starts
export SAFETY_GUARD_MODE=careful
export FREEZE_PATHS="/etc/,~/.ssh/"
# Run loop
/loop-start ...
# After loop ends
unset SAFETY_GUARD_MODE
unset FREEZE_PATHS
Safety-guard hooks intercept tool calls during loop, applying protections transparently.
For isolated autonomous operations, loop operator can spawn docker-sandbox agent:
Pattern:
/loop-start with environment: docker-sandboxSafety: Docker-sandbox prevents host filesystem access, network restrictions optional.
No success criteria: Running loop with ambiguous completion condition ("make it better"). Define measurable criteria.
Max iterations too high: Setting max_iterations > 20. Indicates task decomposition needed (break into smaller loops).
Ignoring escalations: Clicking through 5 escalation warnings. Escalation means strategy failing - stop and rethink.
No safety mode: Running destructive loop without safety-guard. Always specify Careful minimum.
Polling too frequently: Loop iterations every second. Add iteration_delay to prevent resource exhaustion.
No progress logging: Looping without logging each iteration. Logs enable post-mortem analysis.
Location: ~/.claude/loop-operator-state.json
Fields:
loop_id: Unique identifiertask: Task descriptioniterations: Array of iteration resultsstart_time: ISO timestampstatus: Running, Paused, Escalated, CompletePersistence: State saved after each iteration, survives session restart.
Cleanup: State files older than 7 days auto-deleted.