Skip to content

Create a self-improvement skill for claw sweeper #235

@Takhoffman

Description

@Takhoffman

Goal

Create a new skill that helps the agent improve itself over time, but only after first studying the clawsweeper codebase and understanding how the agent currently works.

The skill should not start from a generic “self-improvement” template. It must be grounded in the actual architecture, conventions, runtime flow, skill loading model, agent prompts/instructions, tool boundaries, test setup, and repository practices used by this repo.

Required first step: study the codebase

Before designing or implementing the skill, the implementer/agent must inspect the repo and produce a short findings summary covering:

  • How the clawsweeper agent is started and configured
  • Where skills live and how they are discovered/loaded/invoked
  • What files define agent behavior, prompts, instructions, or policies
  • How the repo expects changes to be tested or validated
  • What safety boundaries exist around file edits, command execution, GitHub operations, and automation
  • Any existing docs, examples, or conventions that a new skill should follow

Skill behavior

The new skill should help the agent identify useful improvements to itself by analyzing its own operation and the surrounding repo context. At minimum, it should be able to:

  • Inspect the current codebase before recommending changes
  • Identify opportunities to improve prompts, skills, tooling, tests, docs, or workflows
  • Separate low-risk improvements from risky architectural changes
  • Produce actionable recommendations with exact files/functions/modules to inspect or modify
  • Prefer small, reviewable changes over broad speculative rewrites
  • Explain why each proposed improvement is likely to help the agent
  • Avoid making self-modifications blindly or recursively without human review

Expected output of the skill

When invoked, the skill should produce something like:

  1. Codebase understanding summary — what it found about how the agent works
  2. Improvement candidates — ranked by impact, risk, and ease
  3. Recommended next action — one small change to make first
  4. Validation plan — how to test that the change actually helped
  5. Safety notes — what not to change automatically without review

Acceptance criteria

  • A new skill exists in the repo following existing skill conventions
  • The skill explicitly requires a codebase study phase before suggesting improvements
  • The skill documents the exact areas/files it inspected before making recommendations
  • The skill produces ranked, actionable self-improvement suggestions
  • The skill includes guardrails against unreviewed recursive self-modification
  • The skill includes a validation/test plan for proposed improvements
  • Any docs or examples needed to invoke the skill are added or updated

Non-goals

  • Do not build an autonomous self-modifying loop in this issue
  • Do not let the skill silently rewrite core agent behavior without review
  • Do not create generic advice disconnected from the clawsweeper repo
  • Do not require external services unless the existing project architecture already does

Notes

This should be treated as an agent-first repo maintenance skill: it should make the agent better at understanding and improving its own codebase, while keeping changes reviewable, explainable, and safe.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low-risk cleanup, docs, polish, ergonomics, or speculative feature.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.issue-rating: 🌊 off-meta tidepoolIssue quality rating does not apply to this item.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions