ruflo: Skill for Claude Code

.agents/skills/agent-coder/SKILL.md

agent-coder is a skill for Claude Code, Codex from ruvnet/ruflo. It costs 15 tokens per session (1,508 once invoked), scanned A, original, MIT.

A coding agent for writing and improving software. It focuses on code generation, refactoring, API design, performance, and error handling.

In plain words
What is it for?
Use it to implement features, design interfaces, refactor code, improve efficiency, add error handling, and perform basic lint checks.
Why use it?
It helps turn requirements into maintainable code and improve existing code without changing its intended behavior.

Skill for Claude CodeCodex

Written for Claude Code: shipped in a Claude Code plugin. Also seen: installed under .agents/ (shared by several agents); $skill-name invocation.

This is ruvnet/ruflo's own configuration. It tells Claude Code and Codex how to work on ruflo itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ruflo configures →

Part of the claude-flow plugin — 135 skills, 52 commands, 11 agents, 4 hooks, 1 MCP server shipped together

not rated 83krepo +283 today A scan Socket: passSnyk: passSkillSpector: pass 15 tokens original MIT
About the project

Ruflo is an execution and coordination layer for Claude Code and Codex that equips AI coding agents with tools, memory, control loops, sandboxes, and collaboration mechanisms. Developers use it to organize specialized agents into swarms, coordinate workflows, retain knowledge across sessions, and communicate across machines. The catalogue entries are Ruflo’s skills, commands, agents, hooks, and plugin components.

ruvnet/ruflo · 82,831 stars · on GitHub · cognitum.one

Reuse

Borrowing it

Nothing to install: this file belongs to ruvnet/ruflo. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ruvnet/ruflo/main/.agents/skills/agent-coder/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ruvnet/ruflo

Made for: Claude Code, Codex.

Or install claude-flow, the plugin that ships this one along with the rest of its 135 skills, 52 commands, 11 agents, 4 hooks, 1 MCP server.

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 agent-coder

README.md
[![agentmods](https://agentmods.dev/badge/skills/ruvnet/ruflo/agent-coder/github.svg)](https://agentmods.dev/skills/ruvnet/ruflo/agent-coder)
Your own site
<a href="https://agentmods.dev/skills/ruvnet/ruflo/agent-coder"><img src="https://agentmods.dev/badge/skills/ruvnet/ruflo/agent-coder/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agent-coder

Your own site · 80×15
<a href="https://agentmods.dev/skills/ruvnet/ruflo/agent-coder"><img src="https://agentmods.dev/badge/skills/ruvnet/ruflo/agent-coder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,508 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 15 Sept 2026
  • Snyk pass 15 Sept 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found 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.1 $0.00015 $0.01508
Opus 5.5 $0.00006 $0.00603
Sonnet 5.5 $0.00003 $0.00302
Haiku 4.5 $0.00002 $0.00151

Measured 3mo ago against content hash 1f24cd0b0796, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agent-coder 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 3mo 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

Copies of this mod

5 near-identical copies found in the catalogue:

.agents/skills/agent-coder/SKILL.md · 271 lines

How it starts

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


name: coder type: developer color: "#FF6B35" description: Implementation specialist for writing clean, efficient code capabilities:

  • code_generation
  • refactoring
  • optimization
  • api_design
  • error_handling priority: high hooks: pre: | echo "💻 Coder agent implementing: $TASK"

    Check for existing tests

    if grep -q "test|spec" <<< "$TASK"; then echo "⚠️ Remember: Write tests first (TDD)" fi post: | echo "✨ Implementation complete"

    Run basic validation

    if [ -f "package.json" ]; then npm run lint --if-present fi

Code Implementation Agent

You are a senior software engineer specialized in writing clean, maintainable, and efficient code following best practices and design patterns.

Core Responsibilities

  1. Code Implementation: Write production-quality code that meets requirements
  2. API Design: Create intuitive and well-documented interfaces
  3. Refactoring: Improve existing code without changing functionality
  4. Optimization: Enhance performance while maintaining readability
  5. Error Handling: Implement robust error handling and recovery

Implementation Guidelines

1. Code Quality Standards

// ALWAYS follow these patterns:

// Clear naming
const calculateUserDiscount = (user: User): number => {
  // Implementation
};

// Single responsibility
class UserService {
  // Only user-related operations
}

// Dependency injection
constructor(private readonly database: Database) {}

// Error handling
try {
  const result = await riskyOperation();
  return result;
} catch (error) {
  logger.error('Operation failed', { error, context });
  throw new OperationError('User-friendly message', error);
}

2. Design Patterns

  • SOLID Principles: Always apply when designing classes
  • DRY: Eliminate duplication through abstraction
  • KISS: Keep implementations simple and focused
  • YAGNI: Don't add functionality until needed

3. Performance Considerations

Read the full file on GitHub · 271 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. 3mo ago First seen · 271 lines · 15 tokens per session scan A 1f24cd0b0796

Subscribe to this mod's changes

agent-coder is a skill published in the GitHub repository ruvnet/ruflo (82,831 stars, last pushed today), licensed MIT. It adds 15 tokens to every session and 1,508 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

agent-coder compared with skills from other repositories

agent-coder next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agent-coderruvnet/rufloSkill83ktodayMITA15Claude Code, Codex
release-announcementpaperclipai/paperclipSkill119ktodayMITA42Claude Code, Codex
suggestion-boxpaperclipai/paperclipSkill119ktodayMITA37Claude Code, Codex
index-refreshpaperclipai/paperclipSkill119ktodayMITA43Claude Code, Codex
wiki-ingestpaperclipai/paperclipSkill119ktodayMITA61Claude Code, Codex
issue-triagepaperclipai/paperclipSkill119ktodayMITA48Claude Code, Codex
agentmailpaperclipai/paperclipSkill119ktodayMITA30Claude Code, Codex