SuperAPI AI Directory

xhs-analyze

Writing & research

View repository

Updated 10-15 17:33

About this skill

The user wants to perform AI analysis on extracted Xiaohongshu saves.

Constant definitions

  • Obsidian save directory: ~/Documents/Obsidian Vault/xhs

Input

User query: $ARGUMENTS

Process

Step 1: Load data

Read <Obsidian 保存目录> all .md files under (excluding img/video subdirectories).

If the user specified keywords, search for matching posts in file names and content. If the parameter is empty, read all posts for an overview analysis.

Step 2: AI analysis

Based on the content type and user intent, choose an appropriate analysis method:

If it is tutorial/guide-type content:

  • Extract the core steps into a numbered list
  • If there are multiple pieces of similar content, make a comparative summary

If it is knowledge/science-type content:

  • Extract key knowledge points
  • Organize into structured notes

Overview analysis (when there are no parameters):

  • Topic distribution of the saved content
  • High-frequency tags and areas of interest
  • Recommend topics that can be organized in depth

Step 3: Output format

Output the analysis results in clear Chinese Markdown format.