xiaohongshu
xiaohongshu
direct-spend-visualizer
Visualize FeedMob direct spend data as ASCII line charts. Use this skill when users request to view, display, chart, or visualize direct spend metrics for one or more click URL IDs. Trigger when users ask to "show direct spend," "visualize spend data," "chart the spending," or similar requests in...
Full skill instructions
This skill enables visualization of FeedMob direct spend data as ASCII line charts. It fetches data using the FeedMob MCP API and displays net spend and gross spend trends over time in an easy-to-read format. All spend values are reported in USD currency.
Use this skill when users request:
Example user requests:
Use the FeedMob MCP tool to retrieve direct spend data:
mcp__feedmob__get_direct_spends
Required parameters:
start_date: Start date in YYYY-MM-DD formatend_date: End date in YYYY-MM-DD formatclick_url_ids: Array of click URL IDs (as strings)Example:
{
"start_date": "2025-11-07",
"end_date": "2025-11-14",
"click_url_ids": ["22271", "22272"]
}
Save the JSON response from the API to a temporary file. This allows the visualization script to process the data.
Example:
import json
# API response data
api_response = {
"status": 200,
"data": [
{
"feedmob_click_url_id": 22271,
"campaign_name": "Campaign_Name",
"date": "2025-11-07",
"feedmob_net_spend": 119.92,
"feedmob_gross_spend": 78.00
}
# ... more records
]
}
# Write to temp file
with open('/tmp/direct_spend_data.json', 'w') as f:
json.dump(api_response, f)
Execute the visualization script to generate ASCII line charts:
python scripts/visualize_direct_spend.py /tmp/direct_spend_data.json
The script can also read from stdin:
echo '{"data": [...]}' | python scripts/visualize_direct_spend.py
The script outputs:
Display this output to the user directly.
Located in scripts/visualize_direct_spend.py, this script:
Input: JSON data from mcp__feedmob__get_direct_spends
Output: ASCII line charts with:
Features:
Usage:
# From file
python scripts/visualize_direct_spend.py data.json
# From stdin
cat data.json | python scripts/visualize_direct_spend.py
User request: "Show me direct spend for click_url 22271 for the last 7 days"
mcp__feedmob__get_direct_spends with:
/tmp/direct_spend.jsonpython scripts/visualize_direct_spend.py /tmp/direct_spend.jsonxiaohongshu
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