Swift Skills — AI skill for Claude Code
Swift library for the Agent Skills open standard — parse, write, validate, and manage SKILL.md bundles for Claude Code, OpenAI Codex, and other AI coding tools.
How to install Swift Skills
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open 1amageek/swift-skills and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Swift Skills does
Swift library for the Agent Skills open standard — parse, write, validate, and manage SKILL.md bundles for Claude Code, OpenAI Codex, and other AI coding tools.
Alternatives in AI
- Osaurus — Own your AI. The native macOS harness for AI agents -- any model, persistent memory, autonomous execution, cry 5.1k ★
- LLM For Zotero — An open-sourced research agent system deeply rooted in your Zotero library 2.8k ★
- Llmwiki — Open Source Implementation of Karpathy's LLM Wiki 1.5k ★
README
SwiftSkill
A Swift library for working with [Agent Skills](https://agentskills.io) — the portable skill format used by [Claude Code](https://code.claude.com/docs/en/skills), [OpenAI Codex](https://developers.openai.com/codex/skills/), and other AI coding tools.
SwiftSkill provides parsing, writing, validation, file-system discovery, and drag & drop support (`Transferable`) for the SKILL.md format.
Requirements
- Swift 6.2+
- macOS 15+ / iOS 18+ / tvOS 18+ / watchOS 11+ / visionOS 2+
Installation
Add to your `Package.swift`:
dependencies: [
.package(url: "https://github.com/1amageek/swift-skills.git", from: "0.1.0")
]
Then add `"SwiftSkill"` to your target's dependencies.
Overview
A skill is a directory bundle containing a `SKILL.md` file (YAML frontmatter + Markdown body) and optional supporting files. In Swift, the entire bundle is represented as a single `struct Skill` — no filesystem awareness is needed when working with skills in code.
my-skill/
├── SKILL.md # Frontmatter + instructions (required)
├── scripts/
│ └── deploy.sh # Executable script
├── references/
│ └── API.md # Reference documentation
└── agents/
└── openai.yaml # Codex configuration
SwiftSkill supports the full Agent Skills standard plus provider-specific extensions:
| Provider | Skills Directory | Extensions |
|---|---|---|
| Standard | skills/ |
— |
| Claude Code | .claude/skills/ |
disable-model-invocation, model, context, agent, hooks, etc. |
| OpenAI Codex | .agents/skills/ |
agents/openai.yaml (interface, policy, dependencies) |
Usage
Creating a Skill
`Skill` is a self-contained bundle. Assemble it in code without thinking about the filesystem:
import SwiftSkill
var skill = Skill(
name: "deploy-staging",
description: "Deploy the current branch to the staging environment",
license: "MIT",
allowedTools: ["Bash(git:*
Related Skills
AgentSessions
Swift library to read and parse sessions from AI coding agents (Claude Code, Codex, Cursor)
Umwayi OS
One gate in front of your AI helpers. Rules you write decide Yes, No or Ask me first before Claude Code, Kiro
Bigbud
An open-source AI workspace for knowledge workers. Bring your own AI subscriptions and use the providers, harn
Skul
Manage project-scoped personal AI configuration bundles (skills, commands, agents) for AI coding tools while s
Foundations
Manage BOS-AI foundation documents handoff - scan, validate, extract to structured YAML
Dsh Skill Importer
Import, validate, manage, and migrate Agent Skills for DeepSeek Harness (DSH), Claude Code, Codex, and other A
Related Agents
GPT Terra
Modèle OpenAI équilibré (GPT-5.6 Terra, via Codex). Génère les images (outil de génération d'images de ChatGPT
Codex Researcher
Research assistant backed by OpenAI Codex. Use to investigate a library, API, design trade-off or unfamiliar p
Jd Reader
Read-only subagent for the relevance and tailor workflows. Reads job ads, the evidence library and shortlists,