Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/aiosai/aipass/screen_locknpx skills add AIOSAI/AIPass --skill screen_lockgit clone --depth 1 https://github.com/AIOSAI/AIPassWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/aiosai/aipass/screen_lock)<a href="https://agentmods.dev/skills/aiosai/aipass/screen_lock"><img src="https://agentmods.dev/badge/skills/aiosai/aipass/screen_lock.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00014 | $0.00831 |
| Opus 5 | $0.00007 | $0.00415 |
| Sonnet 5 | $0.00003 | $0.00166 |
| Haiku 4.5 | $0.00001 | $0.00083 |
Grade A, and why
screen_lock scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Screen Lock
What This Does
Password-locks the graphical session and leaves everything running — agents keep working behind the password wall. Nothing sleeps, nothing is killed, no root is needed (no sudoers grant, no polkit rule).
Two paths, tried in order:
loginctl lock-session <id>against the explicitly resolved graphical session. Callers usually run as asystemd --userservice with noXDG_SESSION_ID, so a barelock-sessionhas no ambient session to resolve and may refuse — naming the session is what makes the verb work from there.gdbus→org.gnome.ScreenSaver.Lockas the fallback.
If both fail it says so. A screen that never locked is never reported as locked.
Doctrine — lock is the exception
A destructive action never fires from a locked screen. Lock itself must work from anywhere — that is its whole point.
So this verb is never gated: it does not ask whether the screen is already locked, does not require a desktop environment, and does not refuse when no graphical session can be resolved (it still tries the bare call). Callers that gate other verbs on screen state must leave this one ungated.
Available Actions
| Action | Description |
|---|---|
lock |
Lock the screen now; agents keep running |
Usage
drone @skills run screen_lock lock
In-process (what the Telegram control bot and the host API verb lane use):
from aipass.skills.lib.screen_lock import handler as screen_lock
result = screen_lock.lock_screen()
# {"locked": True, "method": "loginctl", "session": "3", "error": None}
When to Use
Use this skill when:
- You are leaving the machine and want the screen locked with work continuing
- A remote surface (phone, host API, chat bot) needs to secure the desk
Do NOT use this skill when:
- You want the machine to sleep — that is
/suspend, a different verb with a wake, grace-window and reachability story. Lock never suspends. - You want to end sessions — nothing is stopped or killed here.
What ships with it
5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago First seen · 103 lines · 14 tokens per session scan A 1fea30d8b514
screen_lock is a skill published in the GitHub repository AIOSAI/AIPass (273 stars, last pushed yesterday), licensed MIT. It adds 14 tokens to every session and 831 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
heartbeat
Lightweight system health monitoring skill.
clinical-research-session
Start a structured clinical research session. Use when users describe research goals, want to analyze cohorts, investigate hypotheses, or need a rigorous research plan. Interviews the user, then produces a research protocol.
create-m4-skill
Guide users through creating M4 skills with proper structure, provenance tracking, and tier assignment. Use when users want to create a new M4 skill, document a clinical concept, or contribute a skill to the M4 skills library.
m4-api
Use the M4 Python API to query clinical datasets programmatically. Use when writing code to access clinical databases, executing SQL via Python, or performing multi-step data analysis.
mimic-eicu-mapping
Map equivalent concepts between MIMIC-IV and eICU databases. Use for multi-database studies, external validation, or understanding structural differences between databases.
mimic-table-relationships
Understand MIMIC-IV table relationships, join patterns, and identifier hierarchy. Use for correct data linkage, avoiding duplicates, and proper temporal joins.