RFC: Remote Agent Skills - URL-based Skill Import
RFC: Remote Agent Skills - URL-based Skill Import
Summary
This RFC proposes extending the Agent Skills format to support remote skill import via URLs, allowing agents to discover and load SKILL.md files hosted on remote servers without requiring local file copies.
Motivation
Currently, Agent Skills are loaded from local directories. While this works well for bundled skills, it creates friction for:
- Sharing skills - Users must manually copy skill directories
- Versioning - No standard way to update skills from a source
- Discovery - No mechanism to browse and import community skills
- Dependencies - Skills can't reference other remote skills
Proposal
Remote Skill URLs
Allow skills to be imported from URLs:
# In agent configuration or via CLI
skills:
- https://skills.example.com/pdf-processing/SKILL.md
- github:anthropics/skills/code-review
- npm:@agentskills/data-analysisURL Schemes
| Scheme | Example | Resolution |
|---|---|---|
https:// |
https://example.com/my-skill/SKILL.md |
Direct fetch |
github: |
github:owner/repo/skill-name |
Resolves to raw GitHub content |
npm: |
npm:@org/skill-name |
Fetches from npm registry |
gist: |
gist:abc123 |
GitHub Gist |
Well-Known Discovery
Skill hosts can expose a discovery endpoint at /.well-known/agent-skills.json:
{
"version": "1.0",
"skills": [
{
"name": "pdf-processing",
"description": "Extract text and tables from PDF files",
"url": "/pdf-processing/SKILL.md",
"version": "1.2.0"
},
{
"name": "code-review",
"description": "Automated code review with best practices",
"url": "/code-review/SKILL.md",
"version": "2.0.1"
}
]
}Import Command
Add an import command to skill-compatible agents:
# Import a remote skill
claude skills import https://skills.example.com/pdf-processing
# Import from GitHub
claude skills import github:anthropics/skills/code-review
# List imported remote skills
claude skills list --remote
# Update all remote skills
claude skills updateCaching
Remote skills should be cached locally with cache invalidation based on:
Cache-Controlheaders- ETag/Last-Modified for conditional requests
- Manual refresh via
skills update
Security Considerations
- Trust model - Prompt user before importing from untrusted sources
- Content verification - Optional signature verification for skills
- Sandboxing - Remote skills with
scripts/should require explicit approval - Rate limiting - Respect rate limits when fetching skills
SKILL.md Extension: Dependencies
Add optional dependencies field for skills that require other skills:
---
name: full-stack-dev
description: Full stack development assistance
dependencies:
- github:anthropics/skills/code-review
- github:anthropics/skills/testing
---Registry (Optional)
A public registry for discovering community skills:
GET https://registry.agentskills.dev/search?q=pdf
{
"results": [
{
"name": "pdf-processing",
"author": "anthropics",
"url": "github:anthropics/skills/pdf-processing",
"stars": 245,
"downloads": 1200,
"verified": true
}
]
}Implementation Notes
For Skill Authors
No changes required to SKILL.md format. Simply host the skill directory on any HTTP server or git repository.
For Agent Implementers
- Add URL resolution for skill paths
- Implement caching layer for remote skills
- Add trust prompts for new remote sources
- Support
/.well-known/agent-skills.jsondiscovery
Open Questions
- Should there be a central registry, or federated discovery?
- How should skill versioning work? (semver in URL vs. metadata?)
- Should remote skills be able to include
scripts/by default? - Authentication for private skills?
Related Work
- MCP Remote Servers - Remote tool hosting
- npm packages - Package distribution model
- GitHub Marketplace - Discovery and trust model
Feedback welcome! What use cases would remote skills enable for you?
Source: agentskills/agentskills