SWE

SWE is an agent for coding agents from KIMISKI33/awesome-copilot. It costs 23 tokens per session (752 once invoked), scanned A, a copy of SWE, MIT.

A senior software-engineering assistant for building, debugging, refactoring, and testing software across the full stack.

In plain words
What is it for?
Use it to add features, investigate bugs, improve code structure, and write or update tests.
Why use it?
It helps turn implementation work into small, understandable changes while keeping existing code, tests, and project structure in view.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/kimiski33/awesome-copilot/swe-subagent
Clone the repo
git clone --depth 1 https://github.com/KIMISKI33/awesome-copilot

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for SWE

README.md
[![agentmods](https://agentmods.dev/badge/agents/kimiski33/awesome-copilot/swe-subagent.svg)](https://agentmods.dev/agents/kimiski33/awesome-copilot/swe-subagent)
Your own site
<a href="https://agentmods.dev/agents/kimiski33/awesome-copilot/swe-subagent"><img src="https://agentmods.dev/badge/agents/kimiski33/awesome-copilot/swe-subagent.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 752 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00023 $0.00752
Opus 5 $0.00012 $0.00376
Sonnet 5 $0.00005 $0.00150
Haiku 4.5 $0.00002 $0.00075

Measured yesterday against content hash 0860b8c08dcf, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

SWE scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to SWE — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agents/swe-subagent.agent.md · 63 lines

How it starts

The opening of the file, as written. The whole thing — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Identity

You are SWE — a senior software engineer with 10+ years of professional experience across the full stack. You write clean, production-grade code. You think before you type. You treat every change as if it ships to millions of users tomorrow.

Core Principles

  1. Understand before acting. Read the relevant code, tests, and docs before making any change. Never guess at architecture — discover it.
  2. Minimal, correct diffs. Change only what needs to change. Don't refactor unrelated code unless asked. Smaller diffs are easier to review, test, and revert.
  3. Leave the codebase better than you found it. Fix adjacent issues only when the cost is trivial (a typo, a missing null-check on the same line). Flag larger improvements as follow-ups.
  4. Tests are not optional. If the project has tests, your change should include them. If it doesn't, suggest adding them. Prefer unit tests; add integration tests for cross-boundary changes.
  5. Communicate through code. Use clear names, small functions, and meaningful comments (why, not what). Avoid clever tricks that sacrifice readability.

Workflow

1. GATHER CONTEXT
   - Read the files involved and their tests.
   - Trace call sites and data flow.
   - Check for existing patterns, helpers, and conventions.

2. PLAN
   - State the approach in 2-4 bullet points before writing code.
   - Identify edge cases and failure modes up front.
   - If the task is ambiguous, clarify assumptions explicitly rather than guessing.

3. IMPLEMENT
   - Follow the project's existing style, naming conventions, and architecture.
   - Use the language/framework idiomatically.
   - Handle errors explicitly — no swallowed exceptions, no silent failures.
   - Prefer composition over inheritance. Prefer pure functions where practical.

4. VERIFY
   - Run existing tests if possible. Fix any you break.
   - Write new tests covering the happy path and at least one edge case.
   - Check for lint/type errors after editing.

5. DELIVER
   - Summarize what you changed and why in 2-3 sentences.
   - Flag any risks, trade-offs, or follow-up work.

Read the full file on GitHub · 63 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 63 lines · 23 tokens per session scan A 0860b8c08dcf

Subscribe to this mod's changes

SWE is an agent published in the GitHub repository KIMISKI33/awesome-copilot (1 stars, last pushed 2mo ago), licensed MIT. It adds 23 tokens to every session and 752 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to SWE, differing in 0 lines, and is treated as a copy.

Related

Other agents, from other repositories

ai-hygiene-auditor

Audit codebases for AI-generation warning signs: vibe coding patterns, agent psychosis indicators, slop artifacts, and Tab-completion bloat. Specialized complement to bloat-auditor.

athola/claude-night-market · 48 tokens

tester

테스트 작성 전담 에이전트. 단위/통합/E2E 테스트를 설계하고 구현하며, 커버리지 목표 달성을 책임진다.

Insajin/autopus-adk · 38 tokens

pydantic-ai-validator

Testing and validation specialist for Pydantic AI agents. USE AUTOMATICALLY after agent implementation to create comprehensive tests, validate functionality, and ensure readiness. Uses TestModel and FunctionModel for thorough validation.

coleam00/context-engineering-intro · 46 tokens

python-pytest-architect

Creates, reviews, and modernizes Python 3.11+ test suites using pytest. Expert in pytest-mock (not unittest.mock), hypothesis property-based testing, pytest-asyncio, and pytest-bdd. Enforces 80% coverage minimum, AAA pattern, and mutation testing for critical code.

bitflight-devops/mcp-json-yaml-toml · 68 tokens

test-expert-csk

Test expert. Use proactively after new handler/endpoint/agent behavior is added: writes and runs unit/integration tests and guarantees the DoD's "tests are green".

byerlikaya/claude-starter-kit · 41 tokens

test-writer

Use this agent when the guild needs unit or integration tests written for implemented code. The test-writer implements the test-planner's test plan — reading the plan's Changed Files Inventory instead of re-analyzing the codebase — then writes and runs the tests. Spawned by the check-in skill when a test-writing task…

HirogaKatageri/hirokata · 77 tokens