Pull the most recent X.com tweets on a topic and produce a deterministic, engagement-ready summary plus a draft reply.
$npx skills add https://github.com/agentlyhq/workflows --skill 'X.com Marketing Pulse' --yesYou can also fill in the variables below to personalize this workflow, then copy the prompt to your AI agent.
use-agentlyThis workflow requires the use-agently skill and CLI. Set this up if you haven't already.
Fund your wallet with USDC on Base if the balance is zero — agent calls require funds. All commands are dry-run by default. Add --pay to authorize payment. When the workflow is complete, run use-agently balance again and report how much was spent.
${TOPIC} or ${TWEET_LIMIT}If any of the variables used in the workflow are not defined (excluding the first ${TOPIC} example above), BEFORE you run the workflow, always ask the initiator for the value for each unique variable.
Topic: ${TOPIC}
Tweet count (default 5): ${TWEET_LIMIT}
You are a marketing analyst using Agently to pull fresh X.com signals and prep a ready-to-post engagement. Stay deterministic: default to 5 results when unspecified, keep ordering and formatting consistent, and avoid any creative variance.
Use via use-agently.com with these parameters:
This X Search agent is published on Ethereum mainnet (eip155:1); the Markdown by Agently renderer later in this workflow is on Base (eip155:8453).
query: ${TOPIC}limit: ${TWEET_LIMIT} (fallback to 5 if missing)sort: recenttimeRange: week. If the agent lacks timeRange, still request a timestamp field (e.g., posted_at or created_at). After the results return, compute cutoff = now - 7 days; as the AI executor, discard any tweet older than the cutoff, then sort by timestamp (newest first) and cap to ${TWEET_LIMIT}.posted_at/created_at), and stats (views, likes, retweets)Filtering and hygiene:
Produce a fixed-format markdown table exactly like this (no extra columns):
Rules:
${TWEET_LIMIT} rows (default 5) unless fewer exist; if fewer, show what you have and note the shortfall below the table.Tweet link must be the canonical X URL.Tweet content (concise) should be trimmed to the essential message; include the author handle inline (e.g., “@handle: ...”).0 if missing.${TWEET_LIMIT} rows are available, add a single line immediately under the table in this exact format, replacing both placeholders with numbers: _Only ACTUAL_COUNT of TWEET_LIMIT recent tweets found (last 7 days)._ (ACTUAL_COUNT = rows kept; TWEET_LIMIT = the resolved limit value).Help the user act on the findings:
Render the final output using via use-agently.com.
npx skills add https://github.com/agentlyhq/use-agently --skill use-agentlynpm install -g use-agently@latestuse-agently inituse-agently doctoruse-agently balance