How skills work
Codeg stores skills as files on disk in directories that each agent monitors. When an agent starts a session, it reads the skill files from its configured skill directories and incorporates them as system-level context. Skills are agent-specific — each agent has its own skill directory structure and layout requirements. Codeg shows only agents that support skills in the Settings → Skills view.Skill scopes
- Global skills
- Project skills
Global skills apply to all projects. They are stored in the agent’s home-directory skill folder. Codeg’s Settings UI manages global skills only.
| Agent | Global skill directory |
|---|---|
| Claude Code | ~/.claude/skills/ |
| Codex CLI | ~/.agents/skills/ or ~/.codex/skills/ |
| OpenCode | ~/.config/opencode/skills/ |
| Gemini CLI | ~/.gemini/skills/ or ~/.agents/skills/ |
| OpenClaw | ~/.openclaw/skills/ |
| Cline | ~/.agents/skills/ or ~/.cline/skills/ |
Skill layouts
Codeg supports two file layouts, depending on what each agent expects:- Skill directory
- Markdown file
A skill directory is a folder named after the skill that contains a All agents support this layout. Codeg creates skill directories by default for Claude Code, OpenCode, Codex, Gemini CLI, OpenClaw, and Cline.
SKILL.md file:Codeg shows a message in the Skills panel when a selected agent does not support skills management via the UI.
Creating a skill
Select an agent
In Settings → Skills, choose the agent from the dropdown on the left. Only agents that support skills appear in this list.
Enter a skill ID
Type a name for your skill. The ID can contain letters, numbers, hyphens, underscores, and dots. It cannot start with a dot or contain path separators. Codeg shows you the resolved file path as you type.
Write your instructions
Use the built-in Markdown editor to write your skill content. Toggle between Edit and Preview modes using the button in the top-right corner of the editor. The preview renders GFM (GitHub Flavored Markdown), including tables, code blocks, and task lists.
Editing an existing skill
Click any skill in the list to open it in preview mode. Click Edit to switch to the Markdown editor, make your changes, and click Save. Use Reset to discard unsaved changes and revert to the last saved version.Deleting a skill
Right-click a skill in the list and select Delete, or open the skill and use the context menu. A confirmation dialog appears before the file is removed from disk.Use cases
Coding conventions
Define language-specific style rules, naming conventions, or linting preferences the agent should follow across all sessions.
Project context
Describe your project’s architecture, key modules, or common patterns so the agent has useful background without you restating it every session.
Agent persona
Give the agent a specific communication style, level of verbosity, or decision-making approach.
Workflow instructions
Define multi-step processes (e.g., “always write tests before implementation”) that the agent should apply consistently.