portable-agents

Standardizes YAML frontmatter and Markdown system prompts for portable agents across Claude Code, Cursor, OpenCode, and Cline.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/evatt-harvey-salinger/dotfiles --skill portable-agents
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: portable-agents
Source: https://github.com/evatt-harvey-salinger/dotfiles/tree/main/claude/skills/portable-agents
Command: npx skills add https://github.com/evatt-harvey-salinger/dotfiles --skill portable-agents

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Defines portable agent definitions that work across Claude Code, Cursor, OpenCode, and Cline, eliminating duplication and configuration drift.

Core Features & Use Cases

  • Standardized frontmatter and body across tools to ensure consistent agent behavior.
  • Tool-specific overrides without breaking portability, enabling per-tool optimizations.
  • Real-world workflows include multi-tool agent development, porting agents, and cross-tool orchestration.

Quick Start

Create a portable agent by writing a Markdown file with a YAML frontmatter description and a system prompt body, then reuse it across Claude Code, Cursor, OpenCode, and Cline.

Frequently Asked Questions about portable-agents

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I make a cross-tool agent prompt portable across Claude Code, Cursor, OpenCode, and Cline?

To make cross-tool agent prompts portable, write a Markdown file with a standardized YAML frontmatter containing the agent's name and description, followed by the system prompt body, which ensures consistent behavior across Claude Code, Cursor, OpenCode, and Cline.

What is a portable agent definition for cross-tool interoperability?

A portable agent definition is a standardized Markdown file with YAML frontmatter that unifies agent prompts and behavior across multiple development tools, eliminating duplication and configuration drift when reusing agents across different environments.

Can I apply tool-specific overrides to an agent without breaking its portability?

Yes, you can apply tool-specific overrides to an agent without breaking portability by configuring optional settings like tool restrictions, models, and memory settings, enabling per-tool optimizations while maintaining the shared YAML frontmatter and Markdown body.

Does a portable agent format support tool restrictions and custom model settings?

Yes, the portable agent format supports tool restrictions and custom model settings. These are configured as optional fields within the portable YAML frontmatter, allowing you to customize agent behavior per tool while maintaining a standardized base.

What is the best way to prevent configuration drift when porting agents between development tools?

The best way to prevent configuration drift when porting agents is to use a unified frontmatter format that standardizes the name, description, and system prompt body across tools, ensuring the core agent definition remains consistent across Claude Code, Cursor, OpenCode, and Cline.