Pinme

From eric861129/SKILLS_All-in-one · View interactive version

Pinme is an AI agent skill from the GitHub repository eric861129/SKILLS_All-in-one. This skill should be used when the user asks to "deploy", "upload", "publish" a frontend project, static website, or build output. Also activates when user mentions "pinme", "IPFS deployment", or wants to host static files online.

How to use this skill

Skill file

PinMe Skill

Use PinMe CLI to deploy static files to IPFS and get a preview URL.

When to Use

Deployment Steps

1. Check if PinMe is Installed

pinme --version

If not installed:

npm install -g pinme

2. Identify Static Files Directory

Look for these directories (in priority order):

  1. dist/ - Vue/React/Vite default output
  2. build/ - Create React App output
  3. out/ - Next.js static export
  4. public/ - Pure static projects

Validation rules:

3. Execute Upload

pinme upload <directory>

Examples:

pinme upload dist
pinme upload build
pinme upload ./my-static-site

4. Return Result

After successful upload, return only the preview URL:

https://pinme.eth.limo/#/preview/<hash>

Users can visit the preview page to:

Important Rules

DO:

DO NOT:

Common Workflows

Build and Deploy (Vue/Vite)

npm run build
pinme upload dist

Build and Deploy (React CRA)

npm run build
pinme upload build

Build and Deploy (Next.js Static)

npm run build
npm run export  # or next export
pinme upload out

Error Handling

| Error | Solution |

|-------|----------|

| command not found: pinme | Run npm install -g pinme |

| No such file or directory | Check path, run build first |

| Permission denied | Check folder permissions |

| Upload failed | Check network, retry |

Other Commands

# List upload history
pinme list
pinme ls -l 5

# Remove uploaded file
pinme rm <hash>
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.