@research-ag/motoko-skills
v0.0.1
Published
A set of skills for AI agents for working with motoko code
Readme
Motoko AI Helpers — Agent Skills
This repository provides reusable Agent Skills for Motoko development. These skills are compatible with the skills CLI, so you can list and install them into your coding agents (Cursor, Claude Code, Junie, Windsurf, and many more).
Learn more about the ecosystem and CLI: https://skills.sh
Quick Start
List skills available in this repository (no install yet):
npx skills add https://github.com/research-ag/motoko-ai-helpers --listInteractive command to install skills that you need:
npx skills add https://github.com/research-ag/motoko-ai-helpersInstall specific skills:
# Install one skill to your default agent targets
npx skills add https://github.com/research-ag/motoko-ai-helpers \
--skill motoko-dot-notation-migration
# Install multiple specific skills
npx skills add https://github.com/research-ag/motoko-ai-helpers \
--skill motoko-base-to-core-migration \
--skill motoko-core-code-improvements
# Install to specific agents (examples)
npx skills add https://github.com/research-ag/motoko-ai-helpers \
--skill motoko-general-style-guidelines \
-a cursor -a claude-code
# Install all skills from this repository
npx skills add https://github.com/research-ag/motoko-ai-helpers --skill '*'Project vs Global installation:
# Project (default): installs into your project-specific agent path(s)
npx skills add <source>
# Global: makes skills available to all projects on this machine
npx skills add <source> -gAfter installing, list installed skills:
npx skills list
# or
npx skills lsIncluded Skills
Each skill is a directory under skills/**/SKILL.md with frontmatter that the CLI reads.
- motoko-base-to-core-migration — Complete, AI-ready playbook to migrate Motoko projects from mo:base to mo:core.
- motoko-dot-notation-migration — Convert old
Module.func(self, ...)style calls toself.func(...)dot notation for mo:core. - motoko-core-code-improvements — Optional cleanups for mo:core projects (import order, unused imports, return removal, etc.).
- motoko-general-style-guidelines — Comprehensive Motoko style guidelines to improve readability and consistency.
- motoko-performance-optimizations — General performance optimization techniques (allocation reduction, fixed-width arithmetic, block processing, efficient Text building).
Authoring New Skills
Use the template to create a new skill:
# Create SKILL.md in current directory
npx skills init
# Or create a named subdirectory and SKILL.md
npx skills init my-new-skillOr copy our template and fill it out:
- Template:
skills/_template/SKILL.md.template
Frontmatter requirements for compatibility with the skills CLI:
name(required): lowercase, kebab-case, unique id, e.g.motoko-dot-notation-migrationdescription(required): concise one-liner describing what the skill does and when to use itmetadata.internal(optional): settrueto hide the skill from normal discovery (WIP/internal)
Conventions
- Skill directories live under
skills/and contain a singleSKILL.md - Keep
namestable once published; changes will affect how users refer to the skill - Prefer concise, actionable instructions that agents can follow reliably
Troubleshooting
- If the CLI can’t find skills, ensure your source path or Git URL points to this repository’s root (the scanner looks for
**/SKILL.md). - If a skill isn’t selectable by name, verify its
nameis lowercase, kebab-case, and unique across the repo.
License
See the repository’s LICENSE file
