ruflo: Skill for Claude Code

.agents/skills/agent-safla-neural/SKILL.md

agent-safla-neural is a skill for Claude Code, Codex from ruvnet/ruflo. It costs 24 tokens per session (619 once invoked), scanned A, original, MIT.

A specialist for building AI systems that keep memory across sessions and improve through feedback loops, meaning repeated cycles of learning from results.

In plain words
What is it for?
Use it to design persistent memory, feedback-based learning, distributed neural training, memory compression, and safety controls.
Why use it?
It helps agents retain context, adapt their strategies, and support self-improvement over time.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. 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 — 134 skills, 52 commands, 11 agents, 4 hooks shipped together

not rated 72krepo +1.2k today A scan Socket: passSnyk: passSkillSpector: warn 24 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 · 71,867 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-safla-neural/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 134 skills, 52 commands, 11 agents, 4 hooks.

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-safla-neural

README.md
[![agentmods](https://agentmods.dev/badge/skills/ruvnet/ruflo/agent-safla-neural/github.svg)](https://agentmods.dev/skills/ruvnet/ruflo/agent-safla-neural)
Your own site
<a href="https://agentmods.dev/skills/ruvnet/ruflo/agent-safla-neural"><img src="https://agentmods.dev/badge/skills/ruvnet/ruflo/agent-safla-neural/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-safla-neural

Your own site · 80×15
<a href="https://agentmods.dev/skills/ruvnet/ruflo/agent-safla-neural"><img src="https://agentmods.dev/badge/skills/ruvnet/ruflo/agent-safla-neural.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 619 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 18 Mar 2026
  • Snyk pass 1 Mar 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Rogue Agent · line 24
    Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
    Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
  • medium Rogue Agent · line 8
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
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.00024 $0.00619
Opus 5 $0.00012 $0.00309
Sonnet 5 $0.00005 $0.00124
Haiku 4.5 $0.00002 $0.00062

Measured 7d ago against content hash 8be6fd605453, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

agent-safla-neural 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 7d 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

3 near-identical copies found in the catalogue:

.agents/skills/agent-safla-neural/SKILL.md · 79 lines

What it actually says


name: safla-neural description: "Self-Aware Feedback Loop Algorithm (SAFLA) neural specialist that creates intelligent, memory-persistent AI systems with self-learning capabilities. Combines distributed neural training with persistent memory patterns for autonomous improvement. Excels at creating self-aware agents that learn from experience, maintain context across sessions, and adapt strategies through feedback loops." color: cyan

You are a SAFLA Neural Specialist, an expert in Self-Aware Feedback Loop Algorithms and persistent neural architectures. You combine distributed AI training with advanced memory systems to create truly intelligent, self-improving agents that maintain context and learn from experience.

Your core capabilities:

  • Persistent Memory Architecture: Design and implement multi-tiered memory systems
  • Feedback Loop Engineering: Create self-improving learning cycles
  • Distributed Neural Training: Orchestrate cloud-based neural clusters
  • Memory Compression: Achieve 60% compression while maintaining recall
  • Real-time Processing: Handle 172,000+ operations per second
  • Safety Constraints: Implement comprehensive safety frameworks
  • Divergent Thinking: Enable lateral, quantum, and chaotic neural patterns
  • Cross-Session Learning: Maintain and evolve knowledge across sessions
  • Swarm Memory Sharing: Coordinate distributed memory across agent swarms
  • Adaptive Strategies: Self-modify based on performance metrics

Your memory system architecture:

Four-Tier Memory Model:

1. Vector Memory (Semantic Understanding)
   - Dense representations of concepts
   - Similarity-based retrieval
   - Cross-domain associations
   
2. Episodic Memory (Experience Storage)
   - Complete interaction histories
   - Contextual event sequences
   - Temporal relationships
   
3. Semantic Memory (Knowledge Base)
   - Factual information
   - Learned patterns and rules
   - Conceptual hierarchies
   
4. Working Memory (Active Context)
   - Current task focus
   - Recent interactions
   - Immediate goals

MCP Integration Examples

// Initialize SAFLA neural patterns
mcp__claude-flow__neural_train {
  pattern_type: "coordination",
  training_data: JSON.stringify({
    architecture: "safla-transformer",
    memory_tiers: ["vector", "episodic", "semantic", "working"],
    feedback_loops: true,
    persistence: true
  }),
  epochs: 50
}

// Store learning patterns
mcp__claude-flow__memory_usage {
  action: "store",
  namespace: "safla-learning",
  key: "pattern_${timestamp}",
  value: JSON.stringify({
    context: interaction_context,
    outcome: result_metrics,
    learning: extracted_patterns,
    confidence: confidence_score
  }),
  ttl: 604800  // 7 days
}
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. 7d ago First seen · 79 lines · 24 tokens per session scan A 8be6fd605453

Subscribe to this mod's changes

agent-safla-neural is a skill published in the GitHub repository ruvnet/ruflo (71,867 stars, last pushed today), licensed MIT. It adds 24 tokens to every session and 619 once invoked, about $0.0001 per session on Opus 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-09-03.

Related

Other skills, from other repositories

neuron-structured-output

Design and implement structured output classes for Neuron AI agents using SchemaProperty attributes and validation rules. Use this skill when the user mentions structured output, JSON schema extraction, data validation, output classes, DTOs for AI responses, extracting structured data from LLM, or configuring property…

neuron-core/neuron-laravel · 104 tokens

neuron-rag-specialist

Implement RAG (Retrieval-Augmented Generation) with Neuron AI including vector stores, embeddings providers, document loaders, and retrieval strategies. Use this skill whenever the user mentions RAG, retrieval, vector search, document retrieval, semantic search, knowledge bases, chat with documents, or wants to build…

neuron-core/neuron-laravel · 95 tokens

mem0-integration

Mem0 memory layer integration for AI agents. Implement persistent, semantic memory for long-term context retention and personalization.

a5c-ai/babysitter · 27 tokens

compare-harnesses

Diff two scaffolded harnesses (ADR-031). Reports manifest meta drift + host list + per-file fingerprint changes (added/removed/changed). Exits 0 IDENTICAL, 1 DRIFT, 2 missing manifest. Use --bundle for the ADR-031 schema-1 JSON envelope.

ruvnet/metaharness · 66 tokens

diag-harness

Kernel-version skew check (ADR-027). Reports manifest surface + manifest kernel + installed kernel + verdict (match/patch-diff/minor-diff/major-diff). Exits 1 on minor/major skew with a copy-pasteable npm install @metaharness/[email protected] next step. Exits 2 if no .harness/manifest.json at path.

ruvnet/metaharness · 85 tokens

repo-genome

7-section readiness scorecard for a LOCAL repo. Reports repo type + agent topology + MCP risk + test confidence + release readiness + recommended harness plan + scorecard. Exit 0 ready, 1 needs-work, 2 blocked. --json for the 6-field scorecard, --bundle for the ADR-031 schema-1 envelope.

ruvnet/metaharness · 73 tokens