feat: sync content definitions from core repo

Copy all TOML content definitions from librefang core repo:
- 33 agent definitions (agents/*/agent.toml)
- 14 hand definitions with docs (hands/*/HAND.toml + SKILL.md)
- 25 integration templates (integrations/*.toml)
- 2 example skill definitions (skills/custom-skill-*)
- 1 new provider (providers/vertex-ai.toml)

Part of the framework-vs-content registry split (RFC v0.7).
This commit is contained in:
Evan Hu committed 2026-03-21 02:06:07 +09:00
1 parent ded26ce300
commit 17d32ed4a7
90 files changed
+13549

No files matched your search

+38
View File
@@ -0,0 +1,38 @@
## Custom Prompt Skill Example
##
## This skill uses pure prompt engineering — no code required.
## It generates a meeting agenda from a topic and duration.
##
## To test: librefang skill test ./examples/custom-skill-prompt \
## --input '{"topic": "Q1 planning", "duration_minutes": "30"}'
##
## For the full reference, see: docs/skill-development.md
[skill]
name = "meeting-agenda"
version = "0.1.0"
description = "Generate a structured meeting agenda from a topic and duration."
author = "your-name"
tags = ["meeting", "productivity", "example"]
[runtime]
type = "promptonly"
[input]
topic = { type = "string", description = "The meeting topic", required = true }
duration_minutes = { type = "string", description = "Meeting duration in minutes", required = true }
[prompt]
template = """
Create a structured meeting agenda for the following:
Topic: {{topic}}
Duration: {{duration_minutes}} minutes
Requirements:
- Include time allocations for each section
- Start with a brief intro/alignment (2-3 min)
- End with action items and next steps (3-5 min)
- Keep sections focused and actionable
- Format as a numbered list with time in brackets
"""
+21
View File
@@ -0,0 +1,21 @@
"""
Word Counter Skill — a minimal example of a Python skill for LibreFang.
This skill receives a text input and returns word/sentence/character counts.
"""
import re
def run(input: dict) -> str:
text = input.get("text", "")
words = len(text.split())
sentences = len([s for s in re.split(r"[.!?]+", text.strip()) if s.strip()]) if text.strip() else 0
characters = len(text)
return (
f"Words: {words}\n"
f"Sentences: {sentences}\n"
f"Characters: {characters}"
)
+20
View File
@@ -0,0 +1,20 @@
## Custom Python Skill Example
##
## This skill counts words in a given text and returns basic statistics.
## To test: librefang skill test ./examples/custom-skill-python --input '{"text": "Hello world"}'
##
## For the full reference, see: docs/skill-development.md
[skill]
name = "word-counter"
version = "0.1.0"
description = "Count words, sentences, and characters in text."
author = "your-name"
tags = ["text", "utility", "example"]
[runtime]
type = "python"
entry = "main.py"
[input]
text = { type = "string", description = "The text to analyze", required = true }