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 skills add Cap-go/capgo-skills --skill capacitor-keyboardgit clone --depth 1 https://github.com/Cap-go/capgo-skillsWrote 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/cap-go/capgo-skills/capacitor-keyboard)<a href="https://agentmods.dev/skills/cap-go/capgo-skills/capacitor-keyboard"><img src="https://agentmods.dev/badge/skills/cap-go/capgo-skills/capacitor-keyboard/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/cap-go/capgo-skills/capacitor-keyboard"><img src="https://agentmods.dev/badge/skills/cap-go/capgo-skills/capacitor-keyboard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk pass
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.1 | $0.00207 | $0.02112 |
| Opus 5.5 | $0.00083 | $0.00845 |
| Sonnet 5.5 | $0.00041 | $0.00422 |
| Haiku 4.5 | $0.00021 | $0.00211 |
Grade A, and why
capacitor-keyboard 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 1mo 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 — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Keyboard Handling in Capacitor
When to Use
TRIGGER when:
- Focused input is covered by the keyboard, or the page scrolls unexpectedly
- Chat composer / fixed footer does not stick to the keyboard
- White or black band above the keyboard (Android 15+ edge-to-edge, iOS backdrop)
100vh/dvhlayout collapses when the keyboard opens- iOS zooms into inputs, or the QuickType/accessory bar looks wrong
- Keyboard events never fire or fire twice
Do not use:
- Notch / home-indicator / status-bar padding:
safe-area-handling - Ionic
ion-input,ion-footerstyling:ionic-design - Labels, focus order, screen readers:
capacitor-accessibility
Platform model (the key decision)
| iOS | Android | |
|---|---|---|
| Who resizes | Plugin, per resize mode |
OS + WebView; resize config is ignored |
| Events | keyboardWillShow before animation, keyboardDidShow after |
Will/Did fire almost together |
| JS control | setResizeMode, getResizeMode, setScroll, setStyle, setAccessoryBarVisible (iPhone only) |
show() (Android only), hide() |
iOS resize modes (KeyboardResize enum):
| Mode | Effect | Use when |
|---|---|---|
native (default) |
Whole WebView shrinks; vh units change |
Plain web apps; simplest |
body |
Only <body> height changes; vh unchanged |
Layouts that rely on stable vh |
ionic |
Only ion-app resizes |
Ionic Framework apps only |
none |
Nothing resizes; you position with keyboard height | Custom chat UIs, full control |
Workflow
- Inspect:
capacitor.config.*plugins.Keyboard,@capacitor/keyboardversion (8.0.4+ includes iOS 26 and Android SystemBars fixes), whether Ionic is used,@capacitor/status-bar/ SystemBars config, and the failing screen's CSS (position: fixed,100vh). - Reproduce on a device (simulators often use a hardware keyboard: iOS Simulator -> I/O -> Keyboard -> Toggle Software Keyboard).
- Pick the iOS resize mode from the table; set it in config, not at runtime, unless one screen needs a different mode.
- Fix Android separately (below).
- Verify.
What ships with it
1 file 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.
- 1mo ago Changed · -29 lines · +170 tokens per session 39a2c1005960
- 3mo ago First seen · 162 lines · 37 tokens per session scan A 05eae563c4b9
capacitor-keyboard is a skill published in the GitHub repository Cap-go/capgo-skills (79 stars, last pushed 19d ago), licensed MIT. It adds 207 tokens to every session and 2,112 once invoked, about $0.0008 per session on Opus 5.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.
capacitor-keyboard compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| capacitor-keyboardCap-go/capgo-skills | Skill | 79 | 19d ago | MIT | A | 207 | Claude Code |
| loom-dartcosmix/loom | Skill | 66 | yesterday | MIT | A | 16 | Claude Code, Codex |
| deploy-edge-ai-modelpjt222/agent-almanac | Skill | 46 | yesterday | MIT | A | 108 | Claude Code |
| capacitor-pluginscapawesome-team/skills | Skill | 56 | 12d ago | MIT | A | 101 | Claude Code, Codex |
| ionic-appflow-migrationcapawesome-team/skills | Skill | 56 | 12d ago | MIT | A | 196 | Claude Code, Codex |
| capacitor-expertcapawesome-team/skills | Skill | 56 | 12d ago | MIT | A | 76 | Claude Code, Codex |
| capgo-cloud-migrationcapawesome-team/skills | Skill | 56 | 12d ago | MIT | A | 160 | Claude Code, Codex |