Skip to content
Back to skills

Attach

ASecurity

Attaches files or links the user names to a GitHub Issue as issue artifacts. Use when the user asks to attach, upload or add a file to an issue. Arguments - the issue (number or issue URL), then each file path (double-quoted) or link: the skill sees no conversation.

  • 8 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 25, 2026
ai-agentsbashgit

Security analysis

A100/100

Scanned November 27, 2026

npx -y skills add p2p2sp/viber --skill attach --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Attach?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Attach
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/p2p2sp-attach/badge)](https://www.skillsdirectory.com/skills/p2p2sp-attach)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: attach
description: Attaches files or links the user names to a GitHub Issue as issue artifacts. Use when the user asks to attach, upload or add a file to an issue. Arguments - the issue (number or issue URL), then each file path (double-quoted) or link: the skill sees no conversation.
argument-hint: "<issue number or URL> <file or link>..."
allowed-tools: Bash(${CLAUDE_SKILL_DIR}/scripts/artifact-create.sh:*)
model: sonnet
effort: low
context: fork
background: false
---

## Attach files to an issue

Arguments: the issue (`<N>`, `#<N>` or an issue URL), then one or more files or http(s) links.

Run this once, with the issue and the files as the arguments give them (quote each path), and never run it again, whatever it prints:

```
"${CLAUDE_SKILL_DIR}/scripts/artifact-create.sh" <issue> <files>
```

## Report

Read stdout block by block, in order:
- `CREATED=<link>`: report the link, with the `REASON=` line that follows it when there is one.
- `REFUSED=<file>`: name the file with the reason "file type not supported" and tell the user to attach it in the browser on the issue.
- `FAILED=<file>`: name the file with the `REASON=` line that follows it and tell the user to attach it in the browser on the issue.

On exit 3: attach nothing, name `gh` 2.103 as the version that brings `gh issue artifact`, and for every file tell the user to attach it in the browser on the issue.

On exit 2, or exit 1 with empty stdout: report the `ERROR` line from stderr as printed.

Add nothing else.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.