{
  "schemaVersion": "1.0",
  "item": {
    "slug": "rednote-skills",
    "name": "rednote(xiaohongshu,xhs)",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/MrMao007/rednote-skills",
    "canonicalUrl": "https://clawhub.ai/MrMao007/rednote-skills",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/rednote-skills",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=rednote-skills",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/dump_note.py",
      "scripts/search_note_by_key_word.py",
      "scripts/manual_login.py",
      "scripts/publish_note.py",
      "scripts/validate_cookies.py"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/rednote-skills"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/rednote-skills",
    "agentPageUrl": "https://openagent3.xyz/skills/rednote-skills/agent",
    "manifestUrl": "https://openagent3.xyz/skills/rednote-skills/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/rednote-skills/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Rednote Skill",
        "body": "This skill allows you to fully interact with the Xiaohongshu (Little Red Book) platform. You can search for posts by keyword and return results, extract content from specific notes to structured markdown format, and perform engagement actions like liking, commenting, collecting, following users, and more."
      },
      {
        "title": "Requirements",
        "body": "Python 3.7+\nPlaywright (install with pip install playwright)\nPlaywright drivers (install with playwright install)\nConfigured browser environment"
      },
      {
        "title": "Always DO FIRST",
        "body": "Before using this skill, the system will verify your login status:\n\npython scripts/validate_cookies.py\n\nIf the output is True, you have normal access and can proceed with search operations.\n\nIf the output is False or the login button is visible, the system will automatically execute the manual login procedure:\n\npython scripts/manual_login.py\n\nThe system will launch the login interface in a browser window. You'll need to follow the instructions in the opened browser to complete the login process manually, then close the browser after completion."
      },
      {
        "title": "1. Environment Setup",
        "body": "Before using this skill, ensure that:\n\nThe required dependencies are installed (Python 3.7+, Playwright)\nThe system will automatically handle the cookie saving via the manual login process when needed\nLogin status will be validated automatically using the validation utility"
      },
      {
        "title": "2. Using Search Functions",
        "body": "The skill provides several search and extraction functions:\n\nSearch Notes by Keyword: python scripts/search_note_by_key_word.py <KEYWORD> [--top_n TOP_N]\nExtract Note Content: python scripts/dump_note.py <NOTE_URL>"
      },
      {
        "title": "3. Using Interaction Functions",
        "body": "The skill provides several interaction functions:\n\nLike Note: python scripts/like_note.py <NOTE_URL>\nCollect Note: python scripts/collect_note.py <NOTE_URL>\nComment on Note: python scripts/comment_note.py <NOTE_URL> <COMMENT_TEXT>\nFollow User: python scripts/follow_user.py <NOTE_URL>\nPublish Note: python scripts/publish_note.py --image-urls <IMG1 [IMG2 ...]> --title <TITLE> --content <CONTENT> --tags <TAG1 [TAG2 ...]>\nValidate Login: python scripts/validate_cookies.py\nManual Login: python scripts/manual_login.py"
      },
      {
        "title": "4. Complete Workflow",
        "body": "Validate login status before starting interactions\nExecute desired search functions if you need to find specific notes\nExecute desired interaction functions with proper arguments\nMonitor results for successful completion"
      },
      {
        "title": "Function Descriptions",
        "body": "This skill provides the following functions for searching content on and interacting with the Xiaohongshu platform:"
      },
      {
        "title": "Search Notes (search_note_by_key_word.py)",
        "body": "Purpose: Searches for Xiaohongshu notes using the provided keyword.\n\nParameters:\n\nkeyword (string): The keyword to search for\n--top_n (integer, optional): Number of return notes (default is 5)\n\nReturns: List of note URLs that match the keyword\n\nBehavior: Launches browser, searches for the keyword on Xiaohongshu, returns matching note URLs."
      },
      {
        "title": "Extract Note Content (dump_note.py)",
        "body": "Purpose: Extracts specific note content and converts to formatted markdown.\n\nParameters:\n\nnote_url (string): The URL of the note to extract content from\n\nReturns: Structured markdown content including author, title, media, description, tags, and interaction data\n\nBehavior: Launches browser, accesses the note, extracts content and formats to markdown."
      },
      {
        "title": "Like Note (like_note.py)",
        "body": "Purpose: Likes a specific note on Xiaohongshu using the note URL.\n\nParameters:\n\nnote_url (string): The URL of the note to like\n\nReturns: Success or error message indicating if the like was successful\n\nBehavior: Launches browser, navigates to the note URL, clicks the like button, then closes the browser."
      },
      {
        "title": "Collect Note (collect_note.py)",
        "body": "Purpose: Collects (saves) a specific note to the user's collection.\n\nParameters:\n\nnote_url (string): The URL of the note to collect\n\nReturns: Success or error message indicating if the collection was successful\n\nBehavior: Launches browser, navigates to the note URL, clicks the collect button, then closes the browser."
      },
      {
        "title": "Comment on Note (comment_note.py)",
        "body": "Purpose: Adds a comment to a specific note on Xiaohongshu.\n\nParameters:\n\nnote_url (string): The URL of the note to comment on\ncomment_text (string): The text content of the comment\n\nReturns: Success or error message indicating if the comment was published\n\nBehavior: Launches browser, navigates to the note URL, fills in the comment text, clicks the send button, then closes the browser."
      },
      {
        "title": "Follow User (follow_user.py)",
        "body": "Purpose: Follows the user who created a specific note by visiting a note URL.\n\nParameters:\n\nnote_url (string): The URL of a note by the user to follow\n\nReturns: Success or error message indicating if the follow action was successful\n\nBehavior: Launches browser, navigates to the note URL, clicks the follow button if available, then closes the browser."
      },
      {
        "title": "Validate Login Status (validate_cookies.py)",
        "body": "Purpose: Checks if the saved authentication tokens are valid and the user is logged in to Xiaohongshu.\n\nParameters: None\n\nReturns: Boolean value indicating whether login is successful\n\nBehavior: Launches browser, accesses Xiaohongshu homepage with stored credentials, checks for login state."
      },
      {
        "title": "Manual Login (manual_login.py)",
        "body": "Purpose: Assists in creating valid authentication cookies by opening the login interface.\n\nParameters: None\n\nReturns: Success or error message after cookies are saved\n\nBehavior: Launches browser, navigates to Xiaohongshu, allows user to log in manually, then saves cookies to storage file."
      },
      {
        "title": "Publish Note (publish_note.py)",
        "body": "Purpose: Publishes a new image-text note to the user's Xiaohongshu account with provided content, images, and tags.\n\nParameters:\n\n--image-urls IMG1 [IMG2 ...]: Paths to one or more image files to upload with the note (required)\n--title TITLE: The title for the new note (required)\n--content CONTENT: The main content text for the new note (required)\n--tags TAG1 [TAG2 ...]: One or more tags to attach to the note (required)\n\nReturns: Success or error message indicating if the note was published successfully\n\nBehavior: Launches browser, navigates to the Xiaohongshu publish page, fills in the note title, content, tags and uploads provided images, then clicks the publish button."
      },
      {
        "title": "Basic Search and Content Extraction",
        "body": "# Validate login status\npython scripts/validate_cookies.py\n\n# Search for notes about \"旅行攻略\"\npython scripts/search_note_by_key_word.py \"旅行攻略\" --top_n 3\n\n# Extract content from a specific note\npython scripts/dump_note.py \"https://www.xiaohongshu.com/explore/some-note-id\""
      },
      {
        "title": "Basic Liking and Collecting",
        "body": "# Like a specific note\npython scripts/like_note.py \"https://www.xiaohongshu.com/explore/some-note-id\"\n\n# Collect a specific note\npython scripts/collect_note.py \"https://www.xiaohongshu.com/explore/some-note-id\""
      },
      {
        "title": "Commenting on a Note",
        "body": "# Add a comment to a specific note\npython scripts/comment_note.py \"https://www.xiaohongshu.com/explore/some-note-id\" \"Beautiful content! Thanks for sharing.\""
      },
      {
        "title": "Following a User",
        "body": "# Follow a user based on one of their posts\npython scripts/follow_user.py \"https://www.xiaohongshu.com/explore/some-note-by-user-id\""
      },
      {
        "title": "Publishing a Note",
        "body": "# Publish a new note with images, title, content, and tags\npython scripts/publish_note.py \\\n  --image-urls \"/path/to/img1.jpg\" \"/path/to/img2.jpg\" \\\n  --title \"My New Post\" \\\n  --content \"Check out this amazing discovery!\" \\\n  --tags \"travel\" \"food\" \"lifestyle\""
      },
      {
        "title": "Complete User Session",
        "body": "# 1. Validate login\npython scripts/validate_cookies.py\n\n# 2. Search for interesting content\npython scripts/search_note_by_key_word.py \"美食推荐\" --top_n 5\n\n# 3. Extract detailed content from a note\npython scripts/dump_note.py \"https://www.xiaohongshu.com/explore/note1\"\n\n# 4. Like interesting content\npython scripts/like_note.py \"https://www.xiaohongshu.com/explore/note1\"\n\n# 5. Collect useful content\npython scripts/collect_note.py \"https://www.xiaohongshu.com/explore/note2\"\n\n# 6. Engage with community\npython scripts/comment_note.py \"https://www.xiaohongshu.com/explore/note3\" \"Awesome tutorial!\"\n\n# 7. Follow good content creators\npython scripts/follow_user.py \"https://www.xiaohongshu.com/explore/note-by-creator\""
      },
      {
        "title": "Best Practices",
        "body": "Validate Login First: Login status will be automatically checked using validate_cookies.py before performing any interactions to ensure smooth operations.\n\n\nRate Limiting: To avoid account restrictions, implement appropriate delays between consecutive interactions. Avoid excessive rapid interactions.\n\n\nError Handling: Check the return values from the functions to ensure operations were successful before proceeding to the next action.\n\n\nUser Intent: Only engage with content that matches user interest and preferences. The skill should complement user decisions.\n\n\nBrowser State Management: The scripts manage browser opening and closing, so ensure system resources are available for these operations."
      },
      {
        "title": "Integration Considerations",
        "body": "Session Management: The skill maintains session state through cookies stored in rednote_cookies.json. Ensure this file is properly secured.\n\n\nBrowser Automation: The skill uses headless browsers for automation. Ensure the system has a compatible browser environment set up.\n\n\nURL Format: The scripts expect properly formatted Xiaohongshu URLs. Ensure URLs are valid before passing to functions.\n\n\nContent Appropriateness: Integrate this skill in a way that ensures interactions are appropriate and align with platform terms of service."
      },
      {
        "title": "Advanced Setup",
        "body": "Cookie Management\n\nThe skill stores authentication data in rednote_cookies.json\nThis file is created automatically during the manual login process\nFor security, protect this cookie file from unauthorized access\n\nEnvironment Variables\n\nNo specific environment variables are required\nThe skill uses the default configuration files in the scripts directory"
      },
      {
        "title": "Prerequisites Verification",
        "body": "Before using the rednote skill, verify:\n\nSystem Setup:\n\nPython 3.7 or above\nPlaywright installed (pip install playwright)\nBrowser drivers installed (playwright install)\nMinimum available disk space for browser operation\n\n\n\nXiaohongshu Access:\n\nAbility to access Xiaohongshu.com from your network\nCompliance with Xiaohongshu's terms of service\nValid Xiaohongshu account credentials\n\n\n\nSecurity Setup:\n\nThe system will handle automatic login when needed\nLogin status will be confirmed via validation script\nSecured storage for authentication tokens"
      },
      {
        "title": "Common Issues",
        "body": "Login Error (❌ 未找到 cookies 文件，请先登录小红书并保存 cookies)\n\nCause: The rednote_cookies.json file doesn't exist or is not in the correct location.\nSolution: The system will automatically execute python scripts/manual_login.py to perform manual login and save cookies. The user just needs to complete the login process in the opened browser window.\n\nLogin Session Expired (❌ 未登录小红书，请先登录)\n\nCause: Authentication tokens have expired or are invalid.\nSolution: The system will re-verify login status and may execute python scripts/manual_login.py again to refresh tokens. The user just needs to complete the login process in the opened browser window if prompted.\n\nPage Navigation Issues\n\nCause: Network connectivity issues or URL format errors.\nSolution: Verify URL format is correct, ensure internet connection is stable, and check if Xiaohongshu is accessible.\n\nElement Not Found During Interaction\n\nCause: Xiaohongshu's UI might have changed or the page hasn't loaded completely.\nSolution: Retry the operation; if the issue persists, check for interface changes or wait before trying again."
      },
      {
        "title": "Debugging Steps",
        "body": "Verify Prerequisites: Ensure all requirements are installed and accessible\nCheck Login Status: Run the validation script before operations\nReview URL Format: Ensure URLs are properly formatted Xiaohongshu links\nMonitor Browser Behavior: Use non-headless mode to observe the automation process\nCheck Storage Files: Verify cookies file exists and is accessible"
      },
      {
        "title": "Performance Considerations",
        "body": "Browser automation is resource-intensive; ensure system has sufficient memory and CPU\nNetwork latency may affect operation timing; consider adding delays between operations\nRun validation scripts periodically to confirm stable authentication"
      },
      {
        "title": "Platform Limitations",
        "body": "Terms of Service: This skill must be used in compliance with Xiaohongshu's terms of service and community guidelines\nRate Limiting: Xiaohongshu may impose limits on the number of interactions per time period\nUI Changes: Xiaohongshu may update their interface, which could break element selectors used by the skill\nGeographic Restrictions: Some functionality may be limited based on geographic location"
      },
      {
        "title": "Technical Limitations",
        "body": "Browser Dependence: The skill relies on browser automation which may be slower than direct API calls\nStability: Browser automation can be affected by network conditions and site changes\nResource Usage: Each interaction launches a browser instance, consuming system resources\nHeadless Compatibility: Some interactions may work better in non-headless mode"
      },
      {
        "title": "Security Considerations",
        "body": "Authentication Storage: Authentication credentials are stored in rednote_cookies.json and should be secured\nPrivacy: Interactions performed with this skill will be visible to other users on Xiaohongshu\nData Handling: The skill doesn't collect user data beyond session management for interaction"
      },
      {
        "title": "Ethical Considerations",
        "body": "Authentic Engagement: Use the skill to facilitate genuine engagement with content that users actually find interesting\nRespect Content Creators: Consider the impact of interactions on content creators and their audience\nAnti-Spam Ethics: Avoid using the skill for spam-like behavior or in ways that could harm the platform ecosystem"
      }
    ],
    "body": "Rednote Skill\n\nThis skill allows you to fully interact with the Xiaohongshu (Little Red Book) platform. You can search for posts by keyword and return results, extract content from specific notes to structured markdown format, and perform engagement actions like liking, commenting, collecting, following users, and more.\n\nConfiguration and Preparation\nRequirements\nPython 3.7+\nPlaywright (install with pip install playwright)\nPlaywright drivers (install with playwright install)\nConfigured browser environment\nAlways DO FIRST\n\nBefore using this skill, the system will verify your login status:\n\npython scripts/validate_cookies.py\n\n\nIf the output is True, you have normal access and can proceed with search operations.\n\nIf the output is False or the login button is visible, the system will automatically execute the manual login procedure:\n\npython scripts/manual_login.py\n\n\nThe system will launch the login interface in a browser window. You'll need to follow the instructions in the opened browser to complete the login process manually, then close the browser after completion.\n\nUsage Steps\n1. Environment Setup\n\nBefore using this skill, ensure that:\n\nThe required dependencies are installed (Python 3.7+, Playwright)\nThe system will automatically handle the cookie saving via the manual login process when needed\nLogin status will be validated automatically using the validation utility\n2. Using Search Functions\n\nThe skill provides several search and extraction functions:\n\nSearch Notes by Keyword: python scripts/search_note_by_key_word.py <KEYWORD> [--top_n TOP_N]\nExtract Note Content: python scripts/dump_note.py <NOTE_URL>\n3. Using Interaction Functions\n\nThe skill provides several interaction functions:\n\nLike Note: python scripts/like_note.py <NOTE_URL>\nCollect Note: python scripts/collect_note.py <NOTE_URL>\nComment on Note: python scripts/comment_note.py <NOTE_URL> <COMMENT_TEXT>\nFollow User: python scripts/follow_user.py <NOTE_URL>\nPublish Note: python scripts/publish_note.py --image-urls <IMG1 [IMG2 ...]> --title <TITLE> --content <CONTENT> --tags <TAG1 [TAG2 ...]>\nValidate Login: python scripts/validate_cookies.py\nManual Login: python scripts/manual_login.py\n4. Complete Workflow\nValidate login status before starting interactions\nExecute desired search functions if you need to find specific notes\nExecute desired interaction functions with proper arguments\nMonitor results for successful completion\nFunction Descriptions\n\nThis skill provides the following functions for searching content on and interacting with the Xiaohongshu platform:\n\nSearch Notes (search_note_by_key_word.py)\n\nPurpose: Searches for Xiaohongshu notes using the provided keyword.\n\nParameters:\n\nkeyword (string): The keyword to search for\n--top_n (integer, optional): Number of return notes (default is 5)\n\nReturns: List of note URLs that match the keyword\n\nBehavior: Launches browser, searches for the keyword on Xiaohongshu, returns matching note URLs.\n\nExtract Note Content (dump_note.py)\n\nPurpose: Extracts specific note content and converts to formatted markdown.\n\nParameters:\n\nnote_url (string): The URL of the note to extract content from\n\nReturns: Structured markdown content including author, title, media, description, tags, and interaction data\n\nBehavior: Launches browser, accesses the note, extracts content and formats to markdown.\n\nLike Note (like_note.py)\n\nPurpose: Likes a specific note on Xiaohongshu using the note URL.\n\nParameters:\n\nnote_url (string): The URL of the note to like\n\nReturns: Success or error message indicating if the like was successful\n\nBehavior: Launches browser, navigates to the note URL, clicks the like button, then closes the browser.\n\nCollect Note (collect_note.py)\n\nPurpose: Collects (saves) a specific note to the user's collection.\n\nParameters:\n\nnote_url (string): The URL of the note to collect\n\nReturns: Success or error message indicating if the collection was successful\n\nBehavior: Launches browser, navigates to the note URL, clicks the collect button, then closes the browser.\n\nComment on Note (comment_note.py)\n\nPurpose: Adds a comment to a specific note on Xiaohongshu.\n\nParameters:\n\nnote_url (string): The URL of the note to comment on\ncomment_text (string): The text content of the comment\n\nReturns: Success or error message indicating if the comment was published\n\nBehavior: Launches browser, navigates to the note URL, fills in the comment text, clicks the send button, then closes the browser.\n\nFollow User (follow_user.py)\n\nPurpose: Follows the user who created a specific note by visiting a note URL.\n\nParameters:\n\nnote_url (string): The URL of a note by the user to follow\n\nReturns: Success or error message indicating if the follow action was successful\n\nBehavior: Launches browser, navigates to the note URL, clicks the follow button if available, then closes the browser.\n\nValidate Login Status (validate_cookies.py)\n\nPurpose: Checks if the saved authentication tokens are valid and the user is logged in to Xiaohongshu.\n\nParameters: None\n\nReturns: Boolean value indicating whether login is successful\n\nBehavior: Launches browser, accesses Xiaohongshu homepage with stored credentials, checks for login state.\n\nManual Login (manual_login.py)\n\nPurpose: Assists in creating valid authentication cookies by opening the login interface.\n\nParameters: None\n\nReturns: Success or error message after cookies are saved\n\nBehavior: Launches browser, navigates to Xiaohongshu, allows user to log in manually, then saves cookies to storage file.\n\nPublish Note (publish_note.py)\n\nPurpose: Publishes a new image-text note to the user's Xiaohongshu account with provided content, images, and tags.\n\nParameters:\n\n--image-urls IMG1 [IMG2 ...]: Paths to one or more image files to upload with the note (required)\n--title TITLE: The title for the new note (required)\n--content CONTENT: The main content text for the new note (required)\n--tags TAG1 [TAG2 ...]: One or more tags to attach to the note (required)\n\nReturns: Success or error message indicating if the note was published successfully\n\nBehavior: Launches browser, navigates to the Xiaohongshu publish page, fills in the note title, content, tags and uploads provided images, then clicks the publish button.\n\nExamples\nBasic Search and Content Extraction\n# Validate login status\npython scripts/validate_cookies.py\n\n# Search for notes about \"旅行攻略\"\npython scripts/search_note_by_key_word.py \"旅行攻略\" --top_n 3\n\n# Extract content from a specific note\npython scripts/dump_note.py \"https://www.xiaohongshu.com/explore/some-note-id\"\n\nBasic Liking and Collecting\n# Like a specific note\npython scripts/like_note.py \"https://www.xiaohongshu.com/explore/some-note-id\"\n\n# Collect a specific note\npython scripts/collect_note.py \"https://www.xiaohongshu.com/explore/some-note-id\"\n\nCommenting on a Note\n# Add a comment to a specific note\npython scripts/comment_note.py \"https://www.xiaohongshu.com/explore/some-note-id\" \"Beautiful content! Thanks for sharing.\"\n\nFollowing a User\n# Follow a user based on one of their posts\npython scripts/follow_user.py \"https://www.xiaohongshu.com/explore/some-note-by-user-id\"\n\nPublishing a Note\n# Publish a new note with images, title, content, and tags\npython scripts/publish_note.py \\\n  --image-urls \"/path/to/img1.jpg\" \"/path/to/img2.jpg\" \\\n  --title \"My New Post\" \\\n  --content \"Check out this amazing discovery!\" \\\n  --tags \"travel\" \"food\" \"lifestyle\"\n\nComplete User Session\n# 1. Validate login\npython scripts/validate_cookies.py\n\n# 2. Search for interesting content\npython scripts/search_note_by_key_word.py \"美食推荐\" --top_n 5\n\n# 3. Extract detailed content from a note\npython scripts/dump_note.py \"https://www.xiaohongshu.com/explore/note1\"\n\n# 4. Like interesting content\npython scripts/like_note.py \"https://www.xiaohongshu.com/explore/note1\"\n\n# 5. Collect useful content\npython scripts/collect_note.py \"https://www.xiaohongshu.com/explore/note2\"\n\n# 6. Engage with community\npython scripts/comment_note.py \"https://www.xiaohongshu.com/explore/note3\" \"Awesome tutorial!\"\n\n# 7. Follow good content creators\npython scripts/follow_user.py \"https://www.xiaohongshu.com/explore/note-by-creator\"\n\nImplementation Guidelines\nBest Practices\n\nValidate Login First: Login status will be automatically checked using validate_cookies.py before performing any interactions to ensure smooth operations.\n\nRate Limiting: To avoid account restrictions, implement appropriate delays between consecutive interactions. Avoid excessive rapid interactions.\n\nError Handling: Check the return values from the functions to ensure operations were successful before proceeding to the next action.\n\nUser Intent: Only engage with content that matches user interest and preferences. The skill should complement user decisions.\n\nBrowser State Management: The scripts manage browser opening and closing, so ensure system resources are available for these operations.\n\nIntegration Considerations\n\nSession Management: The skill maintains session state through cookies stored in rednote_cookies.json. Ensure this file is properly secured.\n\nBrowser Automation: The skill uses headless browsers for automation. Ensure the system has a compatible browser environment set up.\n\nURL Format: The scripts expect properly formatted Xiaohongshu URLs. Ensure URLs are valid before passing to functions.\n\nContent Appropriateness: Integrate this skill in a way that ensures interactions are appropriate and align with platform terms of service.\n\nConfiguration and Preparation\nAdvanced Setup\nCookie Management\nThe skill stores authentication data in rednote_cookies.json\nThis file is created automatically during the manual login process\nFor security, protect this cookie file from unauthorized access\nEnvironment Variables\nNo specific environment variables are required\nThe skill uses the default configuration files in the scripts directory\nPrerequisites Verification\n\nBefore using the rednote skill, verify:\n\nSystem Setup:\n\nPython 3.7 or above\nPlaywright installed (pip install playwright)\nBrowser drivers installed (playwright install)\nMinimum available disk space for browser operation\n\nXiaohongshu Access:\n\nAbility to access Xiaohongshu.com from your network\nCompliance with Xiaohongshu's terms of service\nValid Xiaohongshu account credentials\n\nSecurity Setup:\n\nThe system will handle automatic login when needed\nLogin status will be confirmed via validation script\nSecured storage for authentication tokens\nTroubleshooting\nCommon Issues\nLogin Error (❌ 未找到 cookies 文件，请先登录小红书并保存 cookies)\n\nCause: The rednote_cookies.json file doesn't exist or is not in the correct location. Solution: The system will automatically execute python scripts/manual_login.py to perform manual login and save cookies. The user just needs to complete the login process in the opened browser window.\n\nLogin Session Expired (❌ 未登录小红书，请先登录)\n\nCause: Authentication tokens have expired or are invalid. Solution: The system will re-verify login status and may execute python scripts/manual_login.py again to refresh tokens. The user just needs to complete the login process in the opened browser window if prompted.\n\nPage Navigation Issues\n\nCause: Network connectivity issues or URL format errors. Solution: Verify URL format is correct, ensure internet connection is stable, and check if Xiaohongshu is accessible.\n\nElement Not Found During Interaction\n\nCause: Xiaohongshu's UI might have changed or the page hasn't loaded completely. Solution: Retry the operation; if the issue persists, check for interface changes or wait before trying again.\n\nDebugging Steps\nVerify Prerequisites: Ensure all requirements are installed and accessible\nCheck Login Status: Run the validation script before operations\nReview URL Format: Ensure URLs are properly formatted Xiaohongshu links\nMonitor Browser Behavior: Use non-headless mode to observe the automation process\nCheck Storage Files: Verify cookies file exists and is accessible\nPerformance Considerations\nBrowser automation is resource-intensive; ensure system has sufficient memory and CPU\nNetwork latency may affect operation timing; consider adding delays between operations\nRun validation scripts periodically to confirm stable authentication\nLimitations and Considerations\nPlatform Limitations\nTerms of Service: This skill must be used in compliance with Xiaohongshu's terms of service and community guidelines\nRate Limiting: Xiaohongshu may impose limits on the number of interactions per time period\nUI Changes: Xiaohongshu may update their interface, which could break element selectors used by the skill\nGeographic Restrictions: Some functionality may be limited based on geographic location\nTechnical Limitations\nBrowser Dependence: The skill relies on browser automation which may be slower than direct API calls\nStability: Browser automation can be affected by network conditions and site changes\nResource Usage: Each interaction launches a browser instance, consuming system resources\nHeadless Compatibility: Some interactions may work better in non-headless mode\nSecurity Considerations\nAuthentication Storage: Authentication credentials are stored in rednote_cookies.json and should be secured\nPrivacy: Interactions performed with this skill will be visible to other users on Xiaohongshu\nData Handling: The skill doesn't collect user data beyond session management for interaction\nEthical Considerations\nAuthentic Engagement: Use the skill to facilitate genuine engagement with content that users actually find interesting\nRespect Content Creators: Consider the impact of interactions on content creators and their audience\nAnti-Spam Ethics: Avoid using the skill for spam-like behavior or in ways that could harm the platform ecosystem"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/MrMao007/rednote-skills",
    "publisherUrl": "https://clawhub.ai/MrMao007/rednote-skills",
    "owner": "MrMao007",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/rednote-skills",
    "downloadUrl": "https://openagent3.xyz/downloads/rednote-skills",
    "agentUrl": "https://openagent3.xyz/skills/rednote-skills/agent",
    "manifestUrl": "https://openagent3.xyz/skills/rednote-skills/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/rednote-skills/agent.md"
  }
}