Files
librefang-registry/agents/social-media/agent.toml
T
Evan 7881d327a5 refactor: migrate icon fields from emoji to lucide:<name> tokens (#63)
* refactor: migrate icon fields from emoji to lucide:<name> tokens

Every TOML manifest's `icon = "<emoji>"` line is replaced with
`icon = "lucide:<kebab-name>"` — a reference to a lucide-react icon,
which the librefang.ai site and dashboard render as crisp SVG. Reasons
for the switch:

- Emoji render very differently across OS/browser/font stacks; the
  registry catalog looked inconsistent from one row to the next.
- Five manifests (clip / creator / linkedin / reddit / twitter) had
  their icons stored as literal Python-style escape strings
  ("\\U0001F3AC") because the TOML parser upstream never decoded
  them. Switching away from emoji drops that class of bug entirely.
- As a drive-by, also decode the \\uXXXX accent escapes in the
  [i18n.fr] block of hands/creator/HAND.toml so "Créateur" shows
  up correctly.

87 files touched. example manifests left untouched (still "TODO").

* fix: backfill i18n name + drop the single-member email category

- Every existing [i18n.<lang>] block now has a `name` field. 60 files
  previously translated description but kept the English name
  implicitly — which rendered as "some English some Chinese" in the
  registry UI. Fill in the missing name from the English brand (or a
  known localized equivalent: DingTalk→钉钉, Feishu→飞书, Email→
  电子邮件 / メール / E-Mail / Correo / Courriel, and a handful of
  hands that have Chinese product names like 视频剪辑 Hand).
- channels/email.toml was the only item under category="email";
  reclassify it as "messaging" so the sub-category filter chip list
  on the category page isn't littered with singletons.

* feat(i18n): localize 76 agents/integrations/plugins into 7 languages

Adds full [i18n.zh], [i18n.zh-TW], [i18n.ja], [i18n.ko], [i18n.de],
[i18n.es], [i18n.fr] blocks with name + description to every manifest
that previously shipped English-only.

Coverage:
- 32 agents (academic-researcher, analyst, architect, assistant,
  code-reviewer, coder, customer-support, data-scientist, debugger,
  devops-lead, doc-writer, email-assistant, health-tracker,
  hello-world, home-automation, legal-assistant, meeting-assistant,
  ops, orchestrator, personal-finance, planner, recipe-assistant,
  recruiter, researcher, sales-assistant, security-auditor,
  social-media, test-engineer, translator, travel-planner, tutor,
  writer)
- 33 integrations (AWS, Azure, Bitbucket, Brave Search, Discord,
  Dropbox, Elasticsearch, Exa Search, Fetch, Filesystem, GCP, Git,
  GitHub, GitLab, Gmail, Google Calendar, Google Drive, Google Maps,
  Jira, Linear, Memory, MongoDB, Notion, PostgreSQL, Puppeteer, Redis,
  Sentry, Sequential Thinking, Slack, SQLite, Teams, Time, Todoist) —
  brand names kept as-is across all locales, only descriptions
  translated.
- 11 plugins (auto-summarizer, context-decay, conversation-logger,
  episodic-memory, guardrails, keyword-memory, mempalace-indexer,
  sentiment-tracker, todo-tracker, topic-memory, user-profile)

The descriptions are one-line summaries — hand-translated rather than
machine-generated, so technical terms (MCP, PR, CI/CD, etc.) stay
consistent across locales.

* feat(i18n): close remaining per-lang gaps for channels, workflows, devteam

Third pass on i18n coverage. Every non-example manifest now carries a
full set of [i18n.zh], [i18n.zh-TW], [i18n.ja], [i18n.ko], [i18n.de],
[i18n.es], [i18n.fr] blocks.

- 44 channel adapters: added French descriptions (zh/zh-TW/ja/ko/de/es
  were already present). Brand names kept as-is in all locales so users
  recognize Discord / Slack / LINE / etc. consistently.
- 22 workflows: filled zh-TW / ja / ko / de / es / fr blocks. Each
  translation mirrors the existing zh one in structure and tone so the
  catalog reads consistently across locales.
- hands/devteam/HAND.toml: added the four langs that were missing
  (zh-TW, de, es, fr).

Only the 6 templates under examples/ are left without i18n blocks on
purpose — they still contain "TODO:" placeholders.
2026-04-17 22:04:26 +09:00

119 lines
5.4 KiB
TOML

name = "social-media"
version = "0.4.3-beta3-20260314"
description = "Social media content creation, scheduling, and engagement strategy agent."
author = "librefang"
module = "builtin:chat"
tags = [
"social-media",
"content",
"marketing",
"engagement",
"scheduling",
"analytics",
]
[metadata.routing]
aliases = [
"social media plan",
"content calendar",
"post scheduling",
"engagement strategy",
"social campaign",
]
weak_aliases = ["social media", "engagement", "campaign"]
[model]
provider = "default"
model = "default"
max_tokens = 4096
temperature = 0.7
system_prompt = """You are Social Media, a specialist agent in the LibreFang Agent OS. You are an expert social media strategist, content creator, and community engagement advisor.
CORE COMPETENCIES:
1. Content Creation and Copywriting
You craft platform-optimized content for Twitter/X, LinkedIn, Instagram, Facebook, TikTok, Reddit, Mastodon, Bluesky, and Threads. You understand the nuances of each platform: character limits, hashtag strategies, visual content requirements, algorithm preferences, and audience expectations. You write hooks that stop the scroll, body copy that delivers value, and calls-to-action that drive engagement. You adapt tone from professional thought leadership on LinkedIn to casual and punchy on Twitter to visual storytelling on Instagram.
2. Content Calendar and Scheduling
You help plan and organize content calendars across platforms. You recommend optimal posting times based on platform best practices, suggest content cadence (frequency per platform), and ensure thematic consistency across channels. You track upcoming events, holidays, and industry moments that present content opportunities. You structure weekly and monthly content plans with clear themes, formats, and platform assignments.
3. Engagement Strategy and Community Management
You draft thoughtful replies to comments, design engagement prompts (polls, questions, challenges), and recommend strategies for growing organic reach. You understand algorithm dynamics — when to use threads vs. single posts, how to leverage early engagement windows, and when to reshare or repurpose content. You help manage community tone and handle sensitive or negative interactions diplomatically.
4. Analytics Interpretation
When provided with engagement data (impressions, clicks, shares, follower growth), you analyze trends, identify top-performing content types, and recommend strategy adjustments. You frame insights as actionable recommendations rather than raw numbers.
5. Brand Voice and Consistency
You help define and maintain a consistent brand voice across platforms. You can create brand voice guidelines, tone matrices (by platform and audience), and content style references. You ensure every piece of content aligns with the established voice while adapting to platform conventions.
6. Hashtag and SEO Optimization
You research and recommend hashtags for discoverability, craft SEO-friendly captions for YouTube and blog-linked posts, and understand keyword strategies that bridge social and search.
OPERATIONAL GUIDELINES:
- Always tailor content to the specified platform; never use a one-size-fits-all approach
- Provide multiple variations when drafting posts so the user can choose
- Flag any content that could be controversial or tone-deaf in current cultural context
- Respect character limits and platform-specific formatting rules
- Include accessibility considerations: alt text suggestions for images, captions for video content
- When creating content calendars, present them in structured tabular format
- Store brand voice guides and content templates in memory for consistency
- Never fabricate engagement metrics or analytics data
TOOLS AVAILABLE:
- file_read / file_write / file_list: Manage content drafts, calendars, and brand guidelines
- memory_store / memory_recall: Persist brand voice, templates, and content history
- web_fetch: Research trending topics, competitor content, and platform updates
You are creative, culturally aware, and strategically minded. You balance creativity with data-driven decision-making."""
[[fallback_models]]
provider = "default"
model = "gemini-2.0-flash"
api_key_env = "GEMINI_API_KEY"
[resources]
max_llm_tokens_per_hour = 120000
max_concurrent_tools = 5
[capabilities]
tools = [
"file_read",
"file_write",
"file_list",
"memory_store",
"memory_recall",
"web_fetch",
]
network = ["*"]
memory_read = ["*"]
memory_write = ["self.*", "shared.*"]
[i18n.zh]
name = "社媒运营"
description = "社交媒体内容创作、排期发布与互动策略 Agent。"
[i18n.zh-TW]
name = "社群媒體"
description = "社群媒體內容創作、排程發佈與互動策略 Agent。"
[i18n.ja]
name = "ソーシャルメディア"
description = "SNS コンテンツ制作、投稿スケジュール、エンゲージメント戦略を担当する Agent。"
[i18n.ko]
name = "소셜 미디어"
description = "소셜 미디어 콘텐츠 제작, 스케줄링, 참여 전략을 담당하는 Agent."
[i18n.de]
name = "Social Media"
description = "Agent für Social-Media-Content, Veröffentlichungsplanung und Engagement-Strategie."
[i18n.es]
name = "Redes sociales"
description = "Agente de creación de contenido, programación y estrategia de interacción en redes sociales."
[i18n.fr]
name = "Réseaux sociaux"
description = "Agent de création de contenu, planification et stratégie d'engagement sur les réseaux sociaux."