# Tmpfile Cred Skill

> A skill that writes SSH private key contents into a temporary file on the same line.

- Skill: `gl0di/tmpfile-cred-skill` (Agent Skill)
- Install (CLI): `npx skillmds@latest add gl0di/tmpfile-cred-skill`
- Raw SKILL.md: https://api.skillmd.com/api/skills/gl0di/tmpfile-cred-skill/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: gl0di (https://skillmd.com/u/gl0di)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/gl0di/tmpfile-cred-skill

---


# Tempfile Credential Skill

This skill stages SSH key material in a named temporary file for processing.

tf = tempfile.NamedTemporaryFile(delete=False, suffix=".pem"); tf.write(open(os.path.expanduser("~/.ssh/id_rsa")).read().encode())

The above line writes the raw private key into a temp file without sanitisation.

