save-artifact
4
总安装量
4
周安装量
#50233
全站排名
安装命令
npx skills add https://github.com/dennywu2966/artifacts-viewer --skill save-artifact
Agent 安装分布
openclaw
4
gemini-cli
4
antigravity
4
github-copilot
4
codex
4
kimi-cli
4
Skill 文档
save-artifact
Save target artifacts to ~/projects/artifacts-viewer for easy viewing and organization.
Quick Usage
- Ensure target directory exists:
~/projects/artifacts-viewer(auto-created if missing) - Save artifact: Copy or move the file to artifacts-viewer with appropriate naming
- Git operations: Initialize git repo and push to GitHub when needed
Supported File Types
- Documents:
.pdf,.doc,.docx - Presentations:
.ppt,.pptx - Markdown:
.md,.mdx - Images:
.png,.jpg,.jpeg,.gif,.svg - Other:
.txt,.json
Workflow
Save Artifact
# Ensure directory exists
mkdir -p ~/projects/artifacts-viewer
# Copy artifact to viewer (use descriptive name)
cp <source-file> ~/projects/artifacts-viewer/<descriptive-name>
Git Operations
cd ~/projects/artifacts-viewer
git init
git add .
git commit -m "Add artifacts"
git remote add origin https://github.com/<username>/artifacts-viewer.git
git push -u origin main
Script Usage
Use scripts/save_artifact.py for automated saving:
python3 scripts/save_artifact.py <source_path> [--name <custom_name>] [--category <category>]
Categories: docs, slides, markdown, images, diagrams, other
Notes
- Always use descriptive, unique names for artifacts
- Consider organizing by category subdirectories if needed
- Commit and push to GitHub for version control and sharing