Loading...
Loading...
Save and organize target artifacts (documents, presentations, markdown, images, SVGs) to ~/projects/artifacts-viewer. Use when user wants to save or organize docs, PDFs, PPTs, markdown files, images (PNG, JPG, SVG), or any visual/document artifacts to a central viewer location. Also use to initialize git repo for artifacts-viewer and push to GitHub.
npx skill4agent add dennywu2966/artifacts-viewer save-artifact~/projects/artifacts-viewer.pdf.doc.docx.ppt.pptx.md.mdx.png.jpg.jpeg.gif.svg.txt.json# Ensure directory exists
mkdir -p ~/projects/artifacts-viewer
# Copy artifact to viewer (use descriptive name)
cp <source-file> ~/projects/artifacts-viewer/<descriptive-name>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 mainscripts/save_artifact.pypython3 scripts/save_artifact.py <source_path> [--name <custom_name>] [--category <category>]