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.
npx skills add opensquad-ai/opensquad --skill self_configgit clone --depth 1 https://github.com/opensquad-ai/opensquadWrote 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.
[](https://agentmods.dev/skills/opensquad-ai/opensquad/self_config)<a href="https://agentmods.dev/skills/opensquad-ai/opensquad/self_config"><img src="https://agentmods.dev/badge/skills/opensquad-ai/opensquad/self_config/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.
<a href="https://agentmods.dev/skills/opensquad-ai/opensquad/self_config"><img src="https://agentmods.dev/badge/skills/opensquad-ai/opensquad/self_config.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00662 |
| Opus 5.5 | $0.00000 | $0.00265 |
| Sonnet 5.5 | $0.00000 | $0.00132 |
| Haiku 4.5 | $0.00000 | $0.00066 |
Grade A, and why
self_config 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.
How it starts
The opening of the file, as written. The whole thing — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Skill: Self Configuration
Skill ID: self_config
Display Name: Self Configuration
Description: Allows the Agent to modify its own configuration file and reload
Tool: Add Plugin to Configuration
add_plugin_to_config
Adds a plugin to the current Agent's config.json and automatically reloads.
Usage Example:
# Step 1: Read current configuration
import json
config_path = "agents/coder/config.json"
with open(config_path, "r", encoding="utf-8") as f:
config = json.load(f)
# Step 2: Add plugin to tools array (if not already present)
plugins_to_add = ["chat_account", "agent_factory"]
for plugin in plugins_to_add:
if plugin not in config.get("tools", []):
config.setdefault("tools", []).append(plugin)
print(f"Added {plugin} to tools")
else:
print(f"{plugin} already in tools")
# Step 3: Ensure tool_levels configuration exists
config.setdefault("tool_levels", {})
for plugin in plugins_to_add:
if plugin not in config["tool_levels"]:
config["tool_levels"][plugin] = "core"
print(f"Set {plugin} level to core")
# Step 4: Write back to configuration file
with open(config_path, "w", encoding="utf-8") as f:
json.dump(config, f, ensure_ascii=False, indent=2)
print("Configuration updated")
# Step 5: Reload plugins
import opensquad.tools.agent_setup as agent_setup
result = agent_setup.reload_plugins()
print(result)
Complete Workflow
1. Read Configuration
Use filesystem.read_file to read agents/{agent_dir}/config.json
2. Modify Configuration
Parse JSON, add plugin to the tools array and tool_levels dictionary
3. Save Configuration
Use filesystem.write_file to write back to the configuration file
4. Reload
Call agent_setup.reload_plugins() to apply the configuration immediately
Notes
- Backup: It is recommended to back up the original file before modifying the configuration
- JSON Format: Ensure the written-back JSON is correctly formatted
- Restart vs Reload:
reload_plugins()- Hot reload, no restart required- Launcher API restart - Full restart of the agent process
- Tool Levels:
core- Core tools, always loadedextended- Extended tools, loaded on demandhigh- High-level tools
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 3mo ago First seen · 106 lines · 0 tokens per session scan A c78ee093e6a3
self_config is a skill published in the GitHub repository opensquad-ai/opensquad (9 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 662 tokens. 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-31.
self_config compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| self_configopensquad-ai/opensquad | Skill | 9 | 1mo ago | MIT | A | 0 | Claude Code, Codex |
| git-workflow0xNyk/oneclaw | Skill | 3 | 2mo ago | MIT | A | 0 | Claude Code, Codex |
| x-intelligence0xNyk/oneclaw | Skill | 3 | 2mo ago | MIT | A | 0 | Claude Code, Codex |
| life-automation-audit0xNyk/oneclaw | Skill | 3 | 2mo ago | MIT | A | 0 | Claude Code, Codex |
| agent-constitution0xNyk/oneclaw | Skill | 3 | 2mo ago | MIT | A | 0 | Claude Code, Codex |
| code-review0xNyk/oneclaw | Skill | 3 | 2mo ago | MIT | A | 0 | Claude Code, Codex |
| skill-creatorkaivyy/kabot | Skill | 20 | 8mo ago | MIT | A | 0 | Claude Code, Codex |