Token导航 LogoToken导航

Agent Skill · 研究检索

autonomous-fixes(自主修复)

autonomous-fixes 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

autonomous-fixes 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 45,958。

总安装 816周安装 33GitHub Stars 公开资料未说明下载 256核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:autonomous-fixes(自主修复)
来源仓库:https://github.com/louiscavalcante/skills
仓库路径:skills/autonomous-fixes
安装命令:
npx skills add https://github.com/louiscavalcante/skills --skill autonomous-fixes
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/louiscavalcante/skills --skill autonomous-fixes

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

动态上下文感知的待修复问题追踪管理系统。autonomous-fixes 属于研究检索类 Skill,可作为该场景下的辅助能力补充。适用于维护文档化缺陷列表和修复结果记录的场景。支持查询待处理修复项数量和测试结果统计信息。包含 shell 命令执行功能,可能影响文件系统状态。

使用前应检查 .claude/autonomous-tests.json 配置是否存在。

来源仓库内路径:skills/autonomous-fixes

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/louiscavalcante/skills --skill autonomous-fixe…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

autonomous-fixes 怎么安装?

在终端执行 npx skills add https://github.com/louiscavalcante/skills --skill autonomous-fixes。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

autonomous-fixes 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

autonomous-fixes 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/louiscavalcante/skills --skill autonomous-fixes 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

autonomous-fixes 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

autonomous-fixes 用的人多吗?

公开数据是累计安装 816 次,近一周安装 33 次,下载 256 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

autonomous-fixes 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
autonomous-fixes

自主修复 · 本页

816—执行命令未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Dynamic Context

  • Args: $ARGUMENTS
  • Branch:!git branch --show-current
  • Config:!test -f.claude/autonomous-tests.json && echo "YES" || echo "NO — requires autonomous-tests config"
  • Pending fixes:!find docs/_autonomous/pending-fixes -name '*.md' 2>/dev/null | wc -l | tr -d ' '
  • Fix results:!find docs/_autonomous/fix-results -name '*.md' 2>/dev/null | wc -l | tr -d ' '
  • Test results:!find docs/_autonomous/test-results -name '*.md' 2>/dev/null | wc -l | tr -d ' '

Role

Project-agnostic autonomous fix runner. Reads findings from autonomous-tests output, lets the user select items to fix, plans and executes fixes via subagents, verifies results, and updates documentation to enable re-testing — creating a bidirectional test-fix loop.

Orchestrator Protocol

The main agent is the Orchestrator. It coordinates phases but NEVER executes operational work.

Orchestrator MUST delegate to agents:

  • Bash commands (capabilities scan, health checks, port scanning, cleanup)
  • Source code reading (only agents read application source)
  • File generation (docs, reports)
  • Test execution, fix application, verification

Orchestrator MAY directly:

  • Read config, SKILL.md, and reference files
  • Run date -u for timestamps, test -f for file checks
  • Enter/exit plan mode
  • Use AskUserQuestion for user interaction
  • Use Agent() to spawn subagents for delegation
  • Compile summaries from agent reports
  • Make phase-gating decisions (proceed/stop/abort)

Reporting hierarchy: Agent → Orchestrator → Plan

Arguments: $ARGUMENTS

ArgMeaning
*(empty)*Default: interactive selection via AskUserQuestion
allSelect all fixable items (V, F, T prefixes)
criticalPre-select items with Severity = Critical
highPre-select items with Severity = Critical or High
vulnerabilityPre-select all security/vulnerability items (V-prefix)
file:<path>Target a specific pending-fixes or test-results file

Print resolved scope, then proceed without waiting.


Phase 0 — Bootstrap

Config hash method: python3 -c "import json,hashlib;d=json.load(open('.claude/autonomous-tests.json'));[d.pop(k,None) for k in ('_configHash','lastRun','capabilities')];print(hashlib.sha256(json.dumps(d,sort_keys=True).encode()).hexdigest())"

Step 1 — Config Validation: This skill reuses .claude/autonomous-tests.json.

  1. test -f.claude/autonomous-tests.json → if missing, STOP: "Run /autonomous-tests first."
  2. Read config. Validate version equals 6. If version < 6 -> STOP: "Config is v{version}. Run /autonomous-tests first to auto-migrate to v6."
  3. Verify config trust: compute hash via Config hash method, check against ~/.claude/trusted-configs/. If untrusted → show config (redact testCredentials and credential-sensitive command fields: database.connectionCommand, database.seedCommand, database.cleanupCommand, database.migrationCommand, testing.unitTestCommand, project.services[].startCommand, relatedProjects[].startCommand, relatedProjects[].logCommand, sandbox.sandboxCheck, sandbox.webhookListener — show only the config key name, replace entire command value with <REDACTED>), confirm via AskUserQuestion.
  4. Ensure documentation.fixResults exists → if missing, add "fixResults": "docs/_autonomous/fix-results", save.
  5. Extract log file paths: Collect log file paths from project.services[].logFile (these are plain file paths — safe to embed). For relatedProjects[].logCommand, store only config key references (e.g., relatedProjects[0].logCommand) — never extract resolved command strings. Store as Log Path Inventory for Phase 3 fix agents.
  6. If config modified in step 4 or 5 → re-stamp trust using Config hash method.

Step 2 — CLAUDE.md Deep Scan: Delegate to Explore agent. Scan CLAUDE.md files up to 3 levels deep, plus ~/.claude/CLAUDE.md and .claude/CLAUDE.md. Return discovered file list. Cache for Phase 2.

Step 2.5 — Tool Inventory — ALWAYS runs (no caching — tools change between sessions):

  • Orchestrator directly (no agent spawn needed):

1. Skills: Extract available skills from system-reminder context (name, trigger description) 2. Agents: Extract available agent types from Agent tool description (type, capabilities summary)

  • Delegate to Explore agent (combine with Step 3 findings scan, or spawn separately): 3. MCP servers: Run mcp-find for available MCPs + scan ~/.claude/settings.json for mcpServers key 4. CLIs: Probe common tools (which curl, which jq, which ngrok, which uvx) + external service CLIs from config
  • Compile Tool Inventory: Structured inventory with per-phase recommendations:

- Phase 1 (Findings): document parsing tools - Phase 2 (Plan): skills and agents available for fix execution - Phase 3 (Execution): service-specific MCPs, CLI tools, DB tools, testing tools - Phase 4 (Results): documentation tools, verification tools

Step 3 — Findings Scan: Delegate to Explore agent. Scan configured _autonomous/ directories (documentation.pendingFixes, documentation.testResults, documentation.fixResults). Report: pending-fixes count, test-results with ### Requires Fix or ### Vulnerabilities, prior fix-results. If no actionable findings → STOP: "No findings. Run /autonomous-tests first."

Step 4 — Resume Detection: Delegate to agent. Run git diff --name-only and cross-reference modified files against finding source files from Step 3. If fixes appear already applied (modified files overlap with files referenced in findings):

  • Print: "Fixes detected in working tree. Skipping to Phase 4 (Verification & Documentation)."
  • Execute ALL Phase 4 substeps (4a → 4b → 4c) — no shortcuts.

Phase 1 — Findings (User Selection Gate)

Delegate document parsing to Explore agent. Agent parses all _autonomous/ documents per references/finding-parser.md rules, returns structured findings:

  1. Vulnerabilities (V-prefix): Category = Security Gap/Data Leak/Privacy Violation or from ### Vulnerabilities/### API Response Security. Each includes: OWASP category, Severity, Regulatory impact (LGPD/GDPR/CCPA/HIPAA), Exploitability, Compliance risk.
  2. Bugs (F-prefix): Pending-fixes, non-security categories.
  3. Failed Tests (T-prefix): Test-results ### Requires Fix.
  4. Informational: Guided (G) and autonomous (A) — counts only, not selectable.

Orchestrator receives findings, applies pre-selection: all → V+F+T | critical → Severity=Critical | high → Critical+High | vulnerability → V-prefix | file:<path> → specified file only. No argument → present via AskUserQuestion.

Do NOT read any source code during this phase. Source reading happens in Phase 2.


Phase 2 — Plan

Enter plan mode (Use /plan).

Step 0 — Context Reload (for post-approval reconstruction): Re-read SKILL.md, config, templates. Record: resolved arguments ($ARGUMENTS), branch, selected items (IDs, titles, sources), key finding context, user notes.

Self-containment mandate — the plan MUST embed directly (not reference "above" or prior phases):

  1. All selected items (ID, title, source file, severity, category, OWASP for V-prefix)
  2. Fix Context Documents — condensed per item (root cause, affected files, code path, fix design)
  3. Concrete per-item agent spawn instructions (source paths, fix steps, verification commands, expected outcomes)
  4. Full Phase 3/4 instructions with resolved values — no "see above"
  5. Config key references (NOT resolved values): documentation.fixResults, documentation.pendingFixes, documentation.testResults, database.connectionCommand, testing.unitTestCommand — fix agents read resolved values from config file at runtime. Never embed resolved command strings containing credentials into plan text.
  6. CLAUDE.md file list from Phase 0 Step 2
  7. Tool Inventory from Phase 0 — full inventory with per-phase recommendations so fix agents know which tools are available without re-scanning.
  8. DB Consistency Check Protocol (POST_FIX section only) from autonomous-tests/references/db-consistency-protocol.md — embedded verbatim so fix agents execute inline checks without needing the reference file post-reset.
  9. Log Path Inventory from Phase 0 Step 5 — service log file paths (resolved, safe to embed) and related project log command config key references (e.g., relatedProjects[0].logCommand) — fix agents read resolved log commands from config at runtime. Never embed resolved log command strings in plan text.
  10. Security checklist items (from ../autonomous-tests/references/security-checklist.md) applicable to V-prefix items — embed only the subset of items the vulnerability violates and the fix must satisfy (typically 2-5 of 17, not the full list) so fix agents verify security compliance without needing the reference file post-reset.
  11. Service startup config references for all project + relatedProject services (service names + config key paths, e.g. project.services[0].startCommand) — fix agents read resolved commands from config at runtime. Never embed resolved command strings in plan text.
  • Execution Protocol (embed verbatim — orchestrator uses this after context reset): SETUP: Spawn general-purpose subagent (foreground). Reads source files referenced by findings, compiles Fix Context Documents, reads CLAUDE.md files, returns results. TOOL CONTEXT: Fix agents receive relevant Tool Inventory subset (service MCPs, CLI tools, DB tools, testing tools) in their prompts. LOG CONTEXT: Fix agents receive Log Path Inventory (service log file paths only) and config key references for log commands and service startup commands — agents read resolved commands from config at runtime. SECURITY CONTEXT: V-prefix fix agents receive applicable security checklist items (from 17-item checklist) embedded in their Fix Context Document. DB CONSISTENCY: Fix agents that modify DB-interacting code capture pre-fix record counts, then run POST_FIX check after fix application. Non-DB fixes skip this step. FLOW: STRICTLY SEQUENTIAL — one subagent at a time: 1. For each selected item (in order): a. Spawn ONE general-purpose subagent (foreground) b. Provide in prompt: Fix Context Document, source paths, fix instructions, verification steps c. BLOCK — foreground = automatic blocking d. Receive results directly e. Next item PROHIBITED: multiple concurrent subagents, parallel execution, main-conversation fixes
  • Post-Fix Checklist (embed verbatim in every plan): ` ## Post-Fix Checklist 1. [] 4a: Verification agent confirms tests pass 2. [] 4a: DB consistency POST_FIX check passed (if applicable) 3. [] 4b: Fix-results doc created at documentation.fixResults 3. [] 4b: Resolution blocks appended to pending-fixes 4. [] 4b: Test-results updated for T-prefix items (if applicable) 5. [] 4c: Loop signal printed 6. [] 4c: Source cleanup eligibility checked -> AskUserQuestion if all resolved 7. [] 4c: Unresolved V-prefix warnings printed (if applicable) 8. [] 4c: /clear reminder printed `

Setup agent (MANDATORY): Spawn setup subagent (general-purpose, foreground) to read all source files referenced by findings, compile Fix Context Documents, read discovered CLAUDE.md files for architecture context, return results. Orchestrator MUST embed the setup agent's Fix Context Documents into the plan text — condensed for token efficiency but complete enough for post-reset reconstruction.

Fix Context Document per item:

  1. Verify finding is real and still reproduces (MANDATORY gate — do NOT skip): Re-read the source code at the reported location. Check if the code has changed since the finding was reported. Run the failing scenario or check the vulnerable path. If code changed and issue gone → Status: ALREADY_RESOLVED, exclude from plan. If the finding was based on a misunderstanding of the code logic (reported code path is unreachable, vulnerability requires conditions prevented by upstream middleware, or behavior is by design per CLAUDE.md/inline comments) → Status: FALSE_POSITIVE, exclude from plan. Report excluded items to Orchestrator with status and reason — do not generate Fix Context Documents for them. Only proceed to fix design after confirming the issue genuinely exists and requires intervention.
  2. Read referenced files (endpoint, model, test) — record file paths
  3. Trace code path: input → processing → output — summarize path
  4. Identify root cause — state explicitly
  5. Design fix — concrete steps with file:line references

V-prefix enhanced context: Trace full I/O path for affected handler. Identify ALL user-controlled inputs reaching vulnerable code. Check related patterns in same file/module. Assess regulatory exposure. Design security-aware remediation: DTO filtering, validation/sanitization layers, rate limiting, protective guards. Read ../autonomous-tests/references/security-checklist.md (17-item checklist) and embed the items relevant to each V-prefix finding into its Fix Context Document — highlight which items the vulnerability violates and which the fix must satisfy.

Execution is STRICTLY SEQUENTIAL — one agent at a time.

Wait for user approval.


Phase 3 — Execution

Spawn general-purpose subagents sequentially (foreground). For each selected item (in order):

  1. Spawn ONE general-purpose subagent (foreground)
  2. Provide in prompt: Fix Context Document, source paths, fix instructions, verification steps, config file path and service config key references (so agent reads startup commands and log commands from config at runtime — never embed resolved command strings in prompts), Log Path Inventory from Phase 0 (log file paths only; log command config key references for runtime resolution). For V-prefix items: include applicable security checklist items from ../autonomous-tests/references/security-checklist.md (the items the vulnerability violates and the fix must satisfy).
  3. BLOCK — foreground = automatic blocking
  4. Receive results directly
  5. Next item

Standard fix agent instructions:

  1. Read Fix Context Document → re-read source at reported location
  2. Double-check: Verify the issue still exists in the current code before writing any fix. If the code has changed or the issue no longer reproduces → report ALREADY_RESOLVED without modifying files
  3. Implement fix targeting root cause
  4. Run unit tests if configured (testing.unitTestCommand)
  5. Verify with targeted checks (API calls, DB queries, log inspection)
  6. Log check: After fix verification, check log files from Log Path Inventory for new errors or warnings introduced by the fix. If service requires restart, use startup commands from config.
  7. DB consistency: POST_FIX — if fix touched DB-interacting code, capture pre-fix record counts, apply fix, then verify no unintended writes, schema intact, no orphans introduced. Skip for non-DB fixes.
  8. Report: RESOLVED / PARTIAL / UNABLE with details (include log check results)
  9. Record Original Test IDs from source finding's Test ID field into fix-results documentation

V-prefix additional instructions:

  1. Enforce DTO/serializer filtering — remove sensitive data from responses
  2. Add input validation/sanitization at boundary
  3. Rate limiting, file size validation, content-type validation where applicable
  4. Circuit breakers for external service interactions
  5. Harden error responses (no stack traces, internal metadata, debug info)
  6. Verify no new attack vectors introduced
  7. Check same pattern in related files/endpoints
  8. Test with variant attack payloads
  9. Security checklist verification: Confirm all applicable security checklist items (from Fix Context Document) are satisfied by the fix. Report per-item pass/fail in results.

Never fix in main conversation — always delegate.


Phase 4 — Results & Docs

Verify fixes, generate documentation, offer source cleanup.

4a. Verification

Delegate to general-purpose subagent (foreground).

Standard: confirm modified files, run unit tests, re-execute failing scenario. If fix modified DB-interacting code, verify POST_FIX check passed. Include result in fix-results.

V-prefix: re-test original attack vector (must block), test variant payloads, verify no auth bypass/privilege escalation, verify hardened error responses, verify sensitive data removal, check rate limiting.

Mark each: RESOLVED (root cause fixed, all verification passes) / PARTIAL (symptom mitigated but root cause remains or side effects exist) / UNABLE (requires architectural changes, missing access, or manual intervention beyond agent capability).

4b. Documentation

Delegate to general-purpose subagent (foreground). Timestamp via date -u +"%Y-%m-%d-%H-%M-%S". Read references/templates.md.

  • Fix-results: always generated at documentation.fixResults path (metadata, per-item results, next steps)
  • Resolution blocks: append ### Resolution to pending-fixes entries
  • Test-results updates: append fix-applied status to T-prefix entries
  • V-prefix: include ### Security Impact (OWASP, attack vector, regulatory impact, mitigation, related patterns, residual risk)

4c. Loop Signal & Finalize

Print fix cycle summary:

## Fix Cycle Complete
- Items attempted: {N} | Resolved: {N} | Partial: {N} | Unable: {N}
Re-run autonomous-tests to verify: `/autonomous-tests`

If Ready for Re-test: YES → inform user re-testing will be prioritized.

Source Document Cleanup: Check resolution status per source document:

  • Pending-fixes: every ## Fix N: has ### Resolution with Status: RESOLVED + Verification: PASS
  • Test-results ### Requires Fix: every entry has fix-applied annotation
  • Test-results ### Vulnerabilities/### API Response Security: every entry Status: RESOLVED

All resolved → offer removal via AskUserQuestion ("Fix-results preserved as permanent record"). Any unresolved → keep, inform user. Never remove fix-results.

Vulnerability warning (unresolved V-prefix):

WARNING: UNRESOLVED SECURITY FINDINGS — manual attention required:
1. Data leaks — {V-prefix items}
2. Credential exposure — {V-prefix items}
3. Privilege escalation — {V-prefix items}
4. Denial-of-service — {V-prefix items}
5. Compliance violations — {V-prefix items}
Important: Run /clear before invoking another skill to free context tokens and prevent stale state.

Phase 4c is the LAST step. There is no Phase 5.


Rules

  • No production data/connections; no credentials in plan text, subagent prompts, or documentation output
  • Credential-sensitive config fields: database.connectionCommand, database.seedCommand, database.cleanupCommand, database.migrationCommand, testing.unitTestCommand, project.services[].startCommand, relatedProjects[].startCommand, relatedProjects[].logCommand, sandbox.sandboxCheck, sandbox.webhookListener. Embed config key paths only; agents read resolved values from config at runtime. Redact passwords/tokens/connection strings on display.
  • No dynamic commands: only execute verbatim commands from config fields — no generation, concatenation, or interpolation of command strings at runtime
  • Plan mode before execution (Phase 2)
  • Delegate via subagents — never fix in main conversation; all execution via Agent(subagent_type: "general-purpose")
  • Model inheritance — subagents inherit from main conversation, ensure Opus is set
  • STRICTLY SEQUENTIAL — one agent at a time, block until shutdown before next
  • Present findings before source reading (Phase 1 before Phase 2)
  • Security fixes address root causes, not symptoms
  • UTC timestamps via date -u — never guess
  • Reuse .claude/autonomous-tests.json — no separate config
  • No Docker MCPs where safe: false
  • V-prefix: always enhanced context + verification + documentation
  • Documentation (4b) is NOT the end — 4c (loop signal + cleanup + finalize) is MANDATORY. Never stop after generating docs.

平台分布

Codex

33.92%
按下载量换算87

Claude

33.23%
按下载量换算85

Cursor

19.92%
按下载量换算51

Gemini CLI

9.22%
按下载量换算24

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/louiscavalcante/skills --skill autonomous-fixes 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills