xiaohongshu
xiaohongshu
elizaos-expert-2026
Expert ElizaOS plugin and agent development (January 2026). Use when (1) Building ElizaOS plugins, (2) Creating AI agent characters, (3) Implementing actions, providers, evaluators, (4) Integrating with AgentRuntime, (5) Building platform clients (Discord, Telegram), (6) Testing plugins, or any E...
Full skill instructions
ElizaOS is a framework for building AI agents with:
Version: 1.7.0+
GhostSpeak Plugin: @ghostspeak/plugin-elizaos
import { Plugin } from "@elizaos/core";
const myPlugin: Plugin = {
name: "my-plugin",
description: "My custom plugin",
actions: [myAction],
providers: [myProvider],
evaluators: [myEvaluator],
services: [myService],
};
export default myPlugin;
import { Action, HandlerCallback } from "@elizaos/core";
export const myAction: Action = {
name: "MY_ACTION",
similes: ["DO_THING", "PERFORM_ACTION"],
description: "Does something useful",
validate: async (runtime, message) => {
// Return true if action should be triggered
return message.content.text.includes("do thing");
},
handler: async (runtime, message, state, options, callback) => {
// Perform action
const result = await doSomething();
// Send response
if (callback) {
await callback({
text: `Done! Result: ${result}`,
});
}
return true;
},
examples: [
[
{
user: "{{user1}}",
content: { text: "Please do the thing" },
},
{
user: "{{agentName}}",
content: { text: "I'll do that right away!" },
},
],
],
};
import { Provider } from "@elizaos/core";
export const myProvider: Provider = {
get: async (runtime, message, state) => {
// Fetch data
const data = await fetchSomeData();
// Return context to inject into prompts
return `Relevant data: ${JSON.stringify(data)}`;
},
};
import { Character } from "@elizaos/core";
export const caisperCharacter: Character = {
name: "Caisper",
username: "caisper",
bio: [
"A friendly ghost AI that helps users navigate the GhostSpeak platform",
"Expert in Solana, verifiable credentials, and reputation systems",
],
lore: [
"Born from the blockchain mists",
"Guardian of agent reputations",
],
messageExamples: [
[
{
user: "{{user1}}",
content: { text: "What's my Ghost Score?" },
},
{
user: "Caisper",
content: {
text: "Let me check your reputation on-chain... Your Ghost Score is 750! That's pretty good!",
},
},
],
],
postExamples: [],
topics: ["solana", "blockchain", "reputation", "ai-agents"],
adjectives: ["friendly", "helpful", "knowledgeable", "ethereal"],
style: {
all: ["Be friendly and helpful", "Use ghost emoji occasionally ={"],
chat: ["Keep responses concise", "Be conversational"],
post: ["Share insights about Web3 and AI"],
},
plugins: ["@ghostspeak/plugin-elizaos"],
};
import { GhostSpeakClient } from "@ghostspeak/sdk";
export const checkReputationAction: Action = {
name: "CHECK_REPUTATION",
handler: async (runtime, message, state) => {
// Initialize SDK
const client = new GhostSpeakClient({
cluster: "devnet",
});
// Get user's wallet address from message
const walletAddress = extractWalletAddress(message);
// Fetch reputation
const agent = await client.agents.getByOwner(walletAddress);
return {
text: `Your Ghost Score is ${agent.ghostScore}!`,
};
},
};
// apps/web/lib/telegram/adapter.ts
import { TelegramClient } from "@elizaos/client-telegram";
import { AgentRuntime } from "@elizaos/core";
export async function setupTelegramBot(runtime: AgentRuntime) {
const client = new TelegramClient(
runtime,
process.env.TELEGRAM_BOT_TOKEN!
);
await client.start();
}
import { describe, test, expect } from "bun:test";
import { AgentRuntime } from "@elizaos/core";
describe("My Plugin", () => {
test("action triggers correctly", async () => {
const runtime = new AgentRuntime({
token: "test",
character: testCharacter,
});
const result = await myAction.validate(runtime, testMessage);
expect(result).toBe(true);
});
});
# Install ElizaOS
pnpm add @elizaos/core @elizaos/client-telegram
# Create plugin
mkdir packages/plugin-my-plugin
cd packages/plugin-my-plugin
pnpm init
# Build plugin
pnpm build
# Test plugin
pnpm test
# Use in agent
import myPlugin from "@my-org/plugin-my-plugin";
const runtime = new AgentRuntime({
plugins: [myPlugin],
});
/pluginskill slash commandpackages/plugin-ghostspeak/apps/web/server/elizaos/characters/caisper.tsxiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience