Back to skills
SKILL.md
Key Press
BSecurityPress a single key on the keyboard
- 12 stars
- 0 votes
- 0 copies
- 1 view
- Added November 13, 2026
Security analysis
80/100- Sends environment variables or credentials to an external URL
- Installs packages at runtime which could introduce malicious dependencies
Pro scans all 2 files and shows the line behind each finding
npx -y skills add theonlyamos/cognitrix --skill key-press --agent claude-codeAre you the author of Key Press?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/theonlyamos-key-press)---
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.md
- scripts/press.py
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.