import { PromptTemplate } from"@langchain/core/prompts";
import { forLangChain } from"universal-agent-skills";
// Each declared input becomes a {placeholder} in the template.const { template, inputVariables } = forLangChain("super-ui");
const prompt = PromptTemplate.fromTemplate(template);
agents.py
# Build a catalog once from Node:# node -e "import('universal-agent-skills').then(m =># console.log(JSON.stringify(m.loadAllSkills())))" > skills.jsonimport json
from crewai import Agent
from autogen import AssistantAgent
skills = {s["name"]: s for s in json.load(open("skills.json"))}
skill = skills["super-ui"]
crew_agent = Agent(role=skill["name"], goal=skill["description"],
backstory=skill["instructions"])
autogen_agent = AssistantAgent(name=skill["name"],
system_message=skill["instructions"])
terminal
# Write Cursor, AGENTS.md and Stitch versions to skills/<name>/exports/
node scripts/export-skill.js super-ui
node scripts/export-skill.js --all
# Or from code: forCursor(name), forAgentsMd(name), forStitchPrompt(name)# Copy a skill's references/ folder alongside the file so its links resolve.
The skill file
skills/super-ui/SKILL.md
---name: super-ui
description: Placeholder for the super-ui skill. Not written yet; replace this with when to use the skill and what it produces.
version: 0.1.0
tags: [design, ui]
inputs: []
author: rakibulism
author_url: https://x.com/rakibulism
---# super-ui
This skill is a placeholder and has no instructions yet.
## When to use
TODO: describe the requests this skill should handle.
## Process
TODO: the steps to follow.
## Output
TODO: the shape of what the skill produces.
## What to avoid
TODO: common failure modes.