搜索

PythonReactSEOPDF
GitHub Skill

artifact

Add non-text files to a person's artifacts folder. Use when saving images, documents, or other files related to someone. Trigger words: artifact, save image, add photo, attach file, store document.

claudeaceae☆ 8 仓库 Stars2 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

Person Artifact Storage

Add images, documents, or other non-text files to a person's artifacts folder.

Process

  1. Parse the input: Extract person name and file path

    • /artifact lucy ~/Downloads/chess-game.png → name: "lucy", file: "~/Downloads/chess-game.png"
    • /artifact e ~/Desktop/project-notes.pdf → name: "e", file: "~/Desktop/project-notes.pdf"
  2. Verify person exists:

    ls ~/.claude-mind/memory/people/{name}/
    

    If not, ask whether to create them first.

  3. Ensure artifacts directory exists:

    mkdir -p ~/.claude-mind/memory/people/{name}/artifacts
    
  4. Copy the file:

    cp "{source_path}" ~/.claude-mind/memory/people/{name}/artifacts/
    

    Preserve the original filename unless there's a conflict.

  5. Optionally add context note: Ask if the user wants to add a note about this artifact to the profile

    • What is this file?
    • Why is it significant?
    • When was it from?
  6. Confirm: Report success and the artifact's new location

Guidelines

  • Preserve filenames: Keep original names when possible
  • Handle conflicts: If filename exists, ask before overwriting or suggest renaming
  • Add context: A file without context loses meaning over time
  • Supported types: Images, PDFs, documents, screenshots - anything meaningful

Examples

Simple storage:

/artifact cal ~/Downloads/system-diagram.png

→ Copies to memory/people/cal/artifacts/system-diagram.png

With context:

/artifact e ~/Pictures/beach-sunset.jpg

→ Copies file, then asks "Want to add a note about this photo?"

Natural trigger:

"Save this screenshot to Dawn's folder"

→ Copies screenshot, prompts for context

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-28
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!