아래 SKILL.md는
ibreez3/xiaohongshu-skill(커밋
5928cc4)에서
MIT 라이선스에 따라 게시한 것입니다. 본문은 변경하지 않았으며, 파일 상단의 메타데이터만 생략하고 이미지는 링크로 표시하며 매우 긴 파일은 일부만 표시합니다. Copyright 2025 xiaohongshu-skill. 라이선스:
LICENSE. 지침 파일만 표시되며 스크립트 등은 원본 저장소를 참고하세요.
Publish Image/Text to Xiaohongshu Skill
Publish image/text content to Xiaohongshu using the xiaohongshu-mcp HTTP API.
Parameters
This skill receives the following parameters:
- title: Content title (max 20 characters)
- content: Body text
- images: Array of image paths or URLs
- tags: Optional array of topic tags
- schedule_at: Optional scheduled publish time
Execution
Run the publish script
Execute the Node.js script to publish content:
node skills/publish-image-text-skill/scripts/publish.mjs
The script will:
- Read parameters from the environment or stdin
- Make HTTP POST request to xiaohongshu-mcp server
- Return the result
Environment Variables
Pass parameters via environment variables:
export XIAOHONGSHU_TITLE="标题"
export XIAOHONGSHU_CONTENT="正文内容"
export XIAOHONGSHU_IMAGES='["path1.jpg","path2.jpg"]'
export XIAOHONGSHU_TAGS='["标签1","标签2"]'
node skills/publish-image-text-skill/scripts/publish.mjs
Return the result
After execution, return the result to the caller:
- Success: display the published content URL
- Failure: show the error details
라이선스 전문 보기(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.