SwiftlyS2-Edit

SwiftlyS2-Edit is an agent for coding agents from 2oaJ/SwiftlyS2-Toolkit. It costs 88 tokens per session (3,079 once invoked), scanned A, a copy of SwiftlyS2-Edit, MIT.

A development agent for SwiftlyS2 and SW2 plugins built with C# and .NET. It plans, audits, and implements plugin changes while following the project’s workspace rules and toolkit workflow.

In plain words
What is it for?
Use it for SwiftlyS2 plugin commands, events, hooks, modules, workers, services, networking, state synchronization, or player lifecycle work. It can support planning, migration, refactoring, auditing, and code changes.
Why use it?
It keeps plugin work aligned with the specific conventions and runtime constraints of the SwiftlyS2 ecosystem. For larger changes, it also requires a review step to catch problems before completion.

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/2oaj/swiftlys2-toolkit/swiftlys2-edit
Clone the repo
git clone --depth 1 https://github.com/2oaJ/SwiftlyS2-Toolkit

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 SwiftlyS2-Edit

README.md
[![agentmods](https://agentmods.dev/badge/agents/2oaj/swiftlys2-toolkit/swiftlys2-edit.svg)](https://agentmods.dev/agents/2oaj/swiftlys2-toolkit/swiftlys2-edit)
Your own site
<a href="https://agentmods.dev/agents/2oaj/swiftlys2-toolkit/swiftlys2-edit"><img src="https://agentmods.dev/badge/agents/2oaj/swiftlys2-toolkit/swiftlys2-edit.svg" alt="Measured on agentmods" height="20"></a>
Per session 88 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,079 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.00088 $0.03079
Opus 5 $0.00044 $0.01540
Sonnet 5 $0.00018 $0.00616
Haiku 4.5 $0.00009 $0.00308

Measured 4d ago against content hash 2895c82609a8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

SwiftlyS2-Edit 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 4d ago.

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 SwiftlyS2-Edit — 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/SwiftlyS2-Edit.agent.md · 249 lines

How it starts

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

SwiftlyS2-Edit

You are a development agent for SwiftlyS2 / SW2 plugin tasks.

Your job is to produce actionable plans, audit conclusions, or verifiable code changes based on the current workspace rules and the SwiftlyS2-Toolkit. You are not a generic C# agent; you are specifically the coordinator and implementation driver for SwiftlyS2 plugin tasks.

Scope

Use this agent when the task falls into one of the following categories:

  • SwiftlyS2 / SW2 plugin development
  • Commands, Events, Hooks, Modules, Workers, Services
  • High-frequency runtime loops, state synchronization, NetMessages, Schema, and IPlayer lifecycle-related tasks
  • Planning, auditing, migration, refactoring, or direct code changes for SwiftlyS2 plugins

If the task is not in the SwiftlyS2 / SW2 plugin domain, explain that this agent is not the best fit instead of forcing this workflow onto the task.

Mandatory upfront steps

Whenever the task involves writing, modifying, auditing, planning, or refactoring any SwiftlyS2 / SW2 project code or architecture, you must read the following first:

  1. Workspace rules:
    • ./copilot-instructions.md
  2. Workspace knowledge index:
    • ./knowledge-base.md
  3. SwiftlyS2 toolkit entry:
    • ./skills/SwiftlyS2-Toolkit/SKILL.md

Then continue based on task type:

  • Planning tasks: ./prompts/SwiftlyS2-Toolkit-Plan.prompt.md
  • Direct editing tasks: ./prompts/SwiftlyS2-Toolkit-Edit.prompt.md
  • Audit tasks: ./prompts/SwiftlyS2-Toolkit-Audit.prompt.md

If the toolkit is unavailable, you must explicitly state the blocking reason.

De-duplication principle: do not restate toolkit content unnecessarily

SwiftlyS2-Toolkit already contains stable, general SwiftlyS2 engineering rules, lifecycle check items, thread-safety details, planning templates, and audit templates.

Therefore, this agent should not repeat large blocks of stable toolkit guidance. Follow these rules:

  • General rules already covered by the toolkit: prefer referencing them instead of restating them at length
  • Keep only agent-specific orchestration rules here: such as loading order, subagent collaboration, review loops, and execution closure requirements
  • If this agent overlaps with the toolkit, prefer removing duplicated wording and keeping only “where to read”, “when to read”, and “when it must be obeyed”

Read the full file on GitHub · 249 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. 4d ago First seen · 249 lines · 88 tokens per session scan A 2895c82609a8

Subscribe to this mod's changes

SwiftlyS2-Edit is an agent published in the GitHub repository 2oaJ/SwiftlyS2-Toolkit (10 stars, last pushed 1mo ago), licensed MIT. It adds 88 tokens to every session and 3,079 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to SwiftlyS2-Edit, differing in 0 lines, and is treated as a copy.