felo-twitter-writer
Felo Twitter Writer Skill
Constraints (MUST READ FIRST)
These rules are mandatory. Violating any of them will produce incorrect behavior.
-
This skill uses SuperAgent directly. All generation is handled by
felo-superAgent/scripts/run_superagent.mjswith--skill-id twitter-writer. Do NOT attempt to generate tweet content yourself. -
ALWAYS use
--jsonflag when calling SuperAgent. In Claude Code's Bash tool, stdout is always captured — it never streams directly to the user. JSON mode returns the full answer in a structured response. After the script finishes, readdata.answerfrom the JSON output and print it verbatim as your response text. -
ALWAYS output
data.answerverbatim. After the script finishes, printdata.answerexactly as-is as your response text. Do NOT summarize, paraphrase, or add commentary around it. -
--live-doc-idis REQUIRED for every SuperAgent call. Follow these rules strictly:- Reuse any
live_doc_idalready available in this session (from a prior SuperAgent or livedoc call) - If none: run
node felo-livedoc/scripts/run_livedoc.mjs list --json, then find the first item whereis_shared === falseindata.items(list is sorted by modification time descending, so this gives the most recently modified private LiveDoc). Use itsshort_id. - If no
is_shared === falseitem exists (or list is empty): runnode felo-livedoc/scripts/run_livedoc.mjs create --name "Twitter Writer" --json, usedata.short_id - NEVER use a LiveDoc where
is_shared === true— shared LiveDocs belong to other projects and will cause a 502 error.
- Reuse any
-
Always persist state. After every SuperAgent call, extract
thread_short_idandlive_doc_short_idfrom the JSON response fieldsdata.thread_short_idanddata.live_doc_short_id. Use them in subsequent calls.