Le SKILL.md ci-dessous est reproduit depuis
ibreez3/xiaohongshu-skill (commit
5928cc4) sous licence
MIT. Le texte est inchangé ; seules les métadonnées d’en-tête du fichier sont omises, les images sont affichées sous forme de liens et les fichiers très longs sont tronqués. Copyright 2025 xiaohongshu-skill. Licence :
LICENSE. Seul le fichier d’instructions est affiché ; consultez le dépôt d’origine pour les éventuels scripts.
Post Comment Skill
Post a comment to a Xiaohongshu feed using the xiaohongshu-mcp HTTP API.
Parameters
This skill receives the following parameters:
- feed_id: The feed ID to comment on (required)
- xsec_token: Access token for the feed (required)
- content: Comment content (required)
Execution
Run the script
node skills/post-comment-skill/scripts/post-comment.mjs
Environment Variables
Pass parameters via environment variables:
export XIAOHONGSHU_FEED_ID="feed_id_here"
export XIAOHONGSHU_XSEC_TOKEN="token_here"
export XIAOHONGSHU_COMMENT_CONTENT="评论内容"
node skills/post-comment-skill/scripts/post-comment.mjs
Return the result
After execution, return the result to the caller.
Voir le texte intégral de la licence (MIT)
MIT License
Copyright (c) 2025 xiaohongshu-skill
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.