Skip to content
Back to skills

En

ASecurity

ModelSwap ships a plain-markdown **agent skill** that teaches AI coding agents (Claude Code, Codex, OpenCode, …) to drive the CLI: inspect state with machine-readable output, switch models non-interactively, and follow the security boundaries around secrets.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 19, 2026
ai-agentsbashsecurity

Works with

  • claude code
  • cli

Security analysis

A100/100

Pro scans all 17 files and shows the line behind each finding

Scanned September 19, 2026

npx -y skills add Cing-self/modelswap --skill en --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of En?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for En
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cing-self-modelswap/badge)](https://www.skillsdirectory.com/skills/cing-self-modelswap)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# 10. Driving ModelSwap from an AI Agent (Skill)

ModelSwap ships a plain-markdown **agent skill** that teaches AI coding agents (Claude Code, Codex, OpenCode, …) to drive the CLI: inspect state with machine-readable output, switch models non-interactively, and follow the security boundaries around secrets.

## 10.1 Locate & install

```bash
modelswap skill path                      # print the built-in skill file location
modelswap skill install /path/to/project  # writes .agents/skills/modelswap/SKILL.md
```

Or fetch it straight from the public repo:

```bash
npx skills add Cing-self/modelswap --skill modelswap
```

## 10.2 What it enables

- **Inspect**: `modelswap provider current --json`, `provider list --json`, `provider auth --json`, `vault list --json` — masked and safe to read
- **Switch without prompting**: `modelswap provider use <provider> --agent <agent> --model <model>` — the skill tells the agent to always pass explicit agent + model ids instead of relying on defaults
- **Know the boundaries**: secrets never appear in command arguments or logs (`--stdin` instead); `vault get` / `vault inject` are treated as plaintext disclosure and used only when the task truly needs them; `vault push` / `pull` only on explicit request; `vault delete` only after confirming nothing else still references the key

Raw commands are in chapter 14. The skill is written for agents — humans can just use the web console or the CLI directly.

Files in this skill

  • 01-what-is-modelswap.md2.7 KB
  • 02-install.md3.8 KB
  • 03-quickstart.md2.4 KB
  • 04-extension.md2.5 KB
  • 05-auto-create.md1.8 KB
  • 06-vault.md1.6 KB
  • 07-providers.md2.2 KB
  • 08-usage.md1.8 KB
  • 09-agents.md3.8 KB
  • 10-agent-skill.md1.4 KB
  • 11-sync.md2.9 KB
  • 12-snapshots.md661 B
  • 13-settings.md1.1 KB
  • 14-cli.md2.3 KB
  • 15-faq.md2.4 KB
  • README.md622 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.