Skip to content

CosineAI/skills

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Cosine Skills

A collection of skills for the Cosine CLI. Skills extend Cosine's capabilities with specialised knowledge, workflows, and tools — teaching the agent how to work in specific domains, frameworks, and codebases.

What Are Skills?

Skills are reusable packages that inject domain expertise into a Cosine session. Each skill is a directory containing a SKILL.md file with frontmatter metadata and markdown instructions. When you reference a skill using $skill-name in your prompt, Cosine loads its instructions into context.

Read more: cosine.sh/docs/cli/skills

Installing Skills From This Repo

# Install all skills
cos skills add github.com/CosineAI/skills

# Install a specific skill
cos skills add github.com/CosineAI/skills --skill cos-plugin

# Install globally (available across all projects)
cos skills add github.com/CosineAI/skills --global

Skills in This Repo

Skill Description
cos-plugin Create Lua plugins for the Cosine CLI2 — hooks into the event bus, Lua API reference, all 22 event kinds, skeleton templates and examples

Using a Skill

Once installed, invoke a skill by prefixing its name with $ in your prompt:

$cos-plugin create a plugin that sends a Slack webhook whenever the agent creates a checkpoint

Cosine will load the skill's instructions and use them to guide the response.

Skill Structure

Each skill lives in skills/<name>/ and follows this layout:

skills/my-skill/
├── SKILL.md          ← required: frontmatter + instructions
├── references/       ← optional: detailed docs loaded on demand
└── assets/           ← optional: templates, examples, scripts

See the Cosine skills documentation for the full authoring guide.

Install Scopes

Scope Flag Location Best for
Project --project .cosine/skills/ in repo Team-shared skills
Global --global ~/.cosine/skills/ Personal use across projects
Local (default) .cosine/skills/ locally Testing

Contributing

To add a skill:

  1. Create skills/<your-skill>/SKILL.md with name and description frontmatter
  2. Add any references/ or assets/ files the skill needs
  3. Open a pull request

Skills are loaded by the Cosine CLI — keep SKILL.md concise (under 500 lines) and use references/ files for detailed content that only needs to load when relevant.

About

Skills for the Cosine CLI Agent

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages