skills-manager
AGENTS.md124 starsChanged 7 months agoMITView on GitHub
This file provides guidance to Codex (Codex.ai/code) when working with code in this repository. Skills Manager is a desktop application for managing Codex skills and plugins. It's built with Tauri 2 (Rust backend) and React + TypeScript (Vite frontend), targeting macOS and Windows. The application scans Codex's plugin directories, displays skills in a UI, and enables/disables them by modifying ~/.Codex/settings.json. It also supports cloning GitHub repositories containing custom skills. This starts: - Vite dev server on http://localhost:5173 (frontend with hot…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
The file
We split this AGENTS.md into the rules it gives an agent
5 rules. About 0 are common, 0 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 49
Frontend (app/src/api/tauri.ts): Call via invoke('command_name', { args })
- Very specific: line 51
All commands are registered in src-tauri/src/main.rs using tauri::generate_handler!
- Very specific: line 97
No external state management library.
- Very specific: line 118
Add to invoke handler: your_commands::your_function_name
- Very specific: line 119
Add frontend wrapper in app/src/api/tauri.ts
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md
This file provides guidance to Codex (Codex.ai/code) when working with code in this repository.
Project Overview
Skills Manager is a desktop application for managing Codex skills and plugins. It's built with Tauri 2 (Rust backend) and React + TypeScript (Vite frontend), targeting macOS and Windows.
The application scans Codex's plugin directories, displays skills in a UI, and enables/disables them by modifying ~/.Codex/settings.json. It also supports cloning GitHub repositories containing custom skills.
Development Commands
Start Development Server
npm run tauri:devThis starts:
- Vite dev server on http://localhost:5173 (frontend with hot reload)
- Tauri app window
- Rust cargo watch for backend changes
Note: Requires Rust toolchain and OpenSSL. On macOS with Homebrew:
export OPENSSL_DIR=$(brew --prefix openssl@3)
export PKG_CONFIG_PATH=$(brew --prefix openssl@3)/lib/pkgconfigBuild Production Bundle
# macOS
npm run tauri:build --target universal-apple-darwin
# Windows
npm run tauri:build --target x86_64-pc-windows-msvcOutput: src-tauri/target/release/bundle/
Build Rust Only (faster for backend changes)
cargo build --manifest-path=src-tauri/Cargo.tomlArchitecture
Tauri IPC Pattern
The app uses Tauri's command system for Rust↔JavaScript communication:
Rust (src-tauri/src/commands/): Define functions with #[tauri::command]
Frontend (app/src/api/tauri.ts): Call via invoke('command_name', { args })
All commands are registered in src-tauri/src/main.rs using tauri::generate_handler!.
Core Modules
| Module | File | Responsibility |
| SkillScanner | scanner.rs | Scans ~/.Codex/plugins/cache/ and ~/.Codex/skills-manager/ for skills, parses SKILL.md frontmatter |
| SettingsManager | settings.rs | Reads/writes ~/.Codex/settings.json, manages enabledPlugins field |
| GitHubIntegrator | github.rs | Git operations (clone/pull) using git2 crate |
| Commands | commands/*.rs | Tauri command handlers (skills.rs, github.rs) |
Codex Integration
The app integrates with Codex by:
- Scanning: Reads
~/.Codex/plugins/cache/[marketplace]/[plugin]/[version]/skills/forSKILL.mdfiles - Enabling/Disabling: Modifies
~/.Codex/settings.json:{ "enabledPlugins": { "superpowers@Codex-plugins-official": true } } - GitHub Skills: Clones repos to
~/.Codex/skills-manager/[repo-name]/skills/
Skill File Format
Skills are defined with YAML frontmatter:
---
name: skill-name
description: Skill description
---The scanner parses this using regex to extract name and description. Skills without frontmatter use the directory name as fallback.
Frontend Structure
- app/src/App.tsx: Main app with simple state-based routing (currentPage: 'dashboard' | 'settings')
- app/src/pages/: Dashboard.tsx, Settings.tsx (no React Router, just conditional rendering)
- app/src/api/tauri.ts: Wrapper around
@tauri-apps/api/tauriinvoke function
State Management
No external state management library. React's useState manages:
- Skills list (fetched via Tauri commands)
- GitHub repos (fetched via Tauri commands)
- UI state (search term, filter, add form visibility)
Important File Locations
| Purpose | Path |
| Codex settings | ~/.Codex/settings.json |
| Plugin cache | ~/.Codex/plugins/cache/[marketplace]/[plugin]/[version]/ |
| GitHub skills | ~/.Codex/skills-manager/[repo-name]/skills/ |
| App config | ~/.skills-manager/config.json, ~/.skills-manager/github-config.json |
| Tauri config | src-tauri/tauri.conf.json |
| Rust entry | src-tauri/src/main.rs |
| Frontend entry | app/src/main.tsx |
Adding New Tauri Commands
- Define function in
src-tauri/src/commands/with#[tauri::command] - Register in
src-tauri/src/main.rs:skills_commands::your_function_name - Add to invoke handler:
your_commands::your_function_name - Add frontend wrapper in
app/src/api/tauri.ts
Dependencies
Key Rust crates:
- tauri 2: Desktop framework
- git2: Git operations
- serde: Serialization
- anyhow: Error handling
Key npm packages:
- @tauri-apps/api 2: Tauri frontend bindings
- react 18: UI framework
- vite 5: Build tool
- tailwindcss: Styling
Common Issues
"Icon not RGBA" Error
Tauri requires RGBA format PNG icons. Generate using:
npx @tauri-apps/cli icon <input.svg>OpenSSL Errors
On macOS, ensure OpenSSL is installed via Homebrew and env vars are set.
Port 5173 Already in Use
Kill the process: lsof -ti:5173 | xargs kill -9
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

