Skip to content
Back to skills

Key Press

BSecurity

Press a single key on the keyboard

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

Security analysis

B80/100
  • criticalSends environment variables or credentials to an external URL
  • 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 key-press --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Key Press?

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

Security grade badge for Key Press
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/theonlyamos-key-press/badge)](https://www.skillsdirectory.com/skills/theonlyamos-key-press)

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: key-press
description: Press a single key on the keyboard
context: fork
args:
  - name: key_name
    description: The key to press (e.g., enter, esc, a, f1, ctrl)
    required: true
tags: [keyboard, key, press, automation]
category: system
version: "1.0.0"
author: cognitrix
allowed-tools: [bash]
dependencies:
  pip: [pyautogui]
safety:
  risk-level: medium
---

# Key Press

Press a single key on the keyboard.

## Input Format 

Arguments: `<key_name>`

Example: `enter`, `esc`, `a`, `f1`, `ctrl`

## Steps

1. Run the press script with the key_name:
   ```bash
   python ${COGNITRIX_SKILL_DIR}/scripts/press.py "$(arg key_name)"
   ```
2. Report success

## Notes

- Common keys: enter, esc, tab, space, backspace, delete
- Letter keys: a-z
- Number keys: 0-9
- Function keys: f1-f12
- Modifier keys: ctrl, alt, shift, cmd, win
- Requires pyautogui: `pip install pyautogui`

Files in this skill

  • SKILL.md887 B
  • scripts/press.py858 B

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.