Skip to content
Back to skills

Take Screenshot

ASecurity

Take a screenshot of the screen and save to a file

  • 12 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 13, 2026
ai-agentspythongobash

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 2 files and shows the line behind each finding

Scanned November 13, 2026

npx -y skills add theonlyamos/cognitrix --skill take-screenshot --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Take Screenshot?

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

Security grade badge for Take Screenshot
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/theonlyamos-take-screenshot/badge)](https://www.skillsdirectory.com/skills/theonlyamos-take-screenshot)

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: take-screenshot
description: Take a screenshot of the screen and save to a file
context: fork
args:
  - name: output_path
    description: Optional path to save the screenshot (defaults to screenshot.png)
    required: false
    default: screenshot.png
tags: [screenshot, capture, screen]
category: system
version: "1.0.0"
author: cognitrix
allowed-tools: [bash]
dependencies:
  pip: [pyautogui]
safety:
  risk-level: medium
---

# Take Screenshot

Take a screenshot of the screen and save it to a file.

## Input Format

Optional argument: `[output_path]`
- If omitted, saves as `screenshot.png` in current directory

## Steps

1. Run the capture script with the output_path:
   ```bash
   python ${COGNITRIX_SKILL_DIR}/scripts/capture.py "$(arg output_path)"
   ```
2. Report the file path where screenshot was saved

## Notes

- Requires pyautogui library: `pip install pyautogui`
- On Linux, may need `scrot` or `gnome-screenshot` installed
- On macOS, requires permission for screen recording
- On Windows, may require admin privileges for full screen capture

Files in this skill

  • SKILL.md1 KB
  • scripts/capture.py1 KB

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.