Skip to main content
skill CX Codex

roi-analysis — Claude Code skill: what it does, how to install

roi-analysis calculates marketing ROI and ad efficiency on Xiaohongshu. Helps justify budgets to stakeholders using concrete financial performance metrics.

no license 175 installs ★ 564 updated 2026-01-23

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add vivy-yi/xiaohongshu-skills --skill roi-analysis -a claude-code
Open on GitHub

What roi-analysis does

This skill guides financial evaluation of Xiaohongshu marketing campaigns. It calculates six core figures: ROAS, general ROI, acquisition costs (CPA and CAC), customer lifetime value, and payback speed. The methodology covers direct outlays like sponsored creator fees and production expenses, as well as team labor rates.

The workflow outlines expense categorization across spreadsheets or accounting tools alongside revenue tracking via shop analytics, UTM parameters, and promo codes. It applies attribution setups ranging from last-touch credit to multi-touch journeys.

Do not use it for evaluating follower growth or post engagement. The skill focuses strictly on revenue attribution and campaign profitability.

What it helps with

  • calculate campaign ROAS and net ROI
  • measure customer acquisition cost across channels
  • defend marketing budgets with financial attribution
  • reallocate ad spend toward profitable channels

Example prompts for the agent

  • Calculate ROAS and CAC for our latest Xiaohongshu launch using these sales numbers
  • Compare channel profitability and suggest how to reallocate the ad spend
  • Build a payback period model factoring in influencer costs and creative production

How to install roi-analysis

1Skills CLI (Vercel)

npx skills add vivy-yi/xiaohongshu-skills --skill roi-analysis -a claude-code

2Manually: put the files in place

~/.claude/skills/roi-analysis/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/roi-analysis/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about roi-analysis

How do I install roi-analysis in Claude Code?

Run npx skills add vivy-yi/xiaohongshu-skills --skill roi-analysis -a claude-code in your terminal.

What does roi-analysis do?

It measures financial performance for Xiaohongshu marketing, computing ROAS, ROI, CPA, CAC, CLV, and investment payback timelines.

Can roi-analysis track follower counts or post likes?

No. The skill tracks monetary returns and customer acquisition metrics rather than engagement statistics.

Similar skills

All skills for Marketing and content →

From the same set100

The whole set →
copyright-protection copyright-protection is a Claude Code skill for protecting original work and handling other people’s rights on Xiaohongshu. It covers publishing content and responding to infringement claims. CX Codex +1 177installs qiangua-data Walks your agent through Qiangua Data to review a Xiaohongshu account, study competitors, spot rising hashtags and compare against industry numbers. CX Codex +1 176installs audio-processing audio-processing is a Claude Code skill with guidelines for recording and editing audio for Xiaohongshu posts and podcasts, matched to platform requirements. CX Codex +1 176installs cold-start The cold-start skill lays out a launch plan for a new Xiaohongshu account, from preparing posts to testing formats and using audience response to choose a direction. CX Codex +1 175installs publishing-timing publishing-timing guides scheduling for Xiaohongshu posts by mapping audience activity, content formats, and early algorithmic engagement signals. CX Codex +1 174installs influencer-outreach influencer-outreach is a Claude Code skill for selecting Xiaohongshu creators and drafting personalized campaign proposals. It supports product launches and brand promotion. CX Codex +1 173installs algorithm-mechanism algorithm-mechanism explains how Xiaohongshu's recommendation feed picks who sees a post, and what to change when views stay low. CX Codex +1 173installs team-collaboration team-collaboration guides creators through delegating Xiaohongshu content production to editors and external agencies. CX Codex +1 173installs

Project sponsors

Companies that keep this analytics open