fileterm: Skill for Claude Code

.agents/skills/fileterm-multiplatform-desktop/SKILL.md

fileterm-multiplatform-desktop is a skill for Claude Code, Codex from St0ff3l/fileterm. It costs 37 tokens per session (626 once invoked), scanned A, original, MIT.

A set of rules for changing FileTerm's desktop behavior across macOS, Windows, Linux, and the browser. It explains where window controls, menus, terminal input, shortcuts, gestures, and font sizing should be handled.

In plain words
What is it for?
Use it when changing native windows or menus, terminal shortcuts, touch gestures, title bars, tray behavior, or terminal font measurements in FileTerm. It also lists platform-specific checks for testing those changes.
Why use it?
It prevents platform-specific behavior from being implemented in the wrong part of the application. It also helps avoid breaking remote terminal input, window closing, or layout on a particular operating system.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is St0ff3l/fileterm's own configuration. It tells Claude Code and Codex how to work on fileterm itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything fileterm configures →

Reuse

Borrowing it

Nothing to install: this file belongs to St0ff3l/fileterm. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/St0ff3l/fileterm/main/.agents/skills/fileterm-multiplatform-desktop/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/St0ff3l/fileterm

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for fileterm-multiplatform-desktop

README.md
[![agentmods](https://agentmods.dev/badge/skills/st0ff3l/fileterm/fileterm-multiplatform-desktop/github.svg)](https://agentmods.dev/skills/st0ff3l/fileterm/fileterm-multiplatform-desktop)
Your own site
<a href="https://agentmods.dev/skills/st0ff3l/fileterm/fileterm-multiplatform-desktop"><img src="https://agentmods.dev/badge/skills/st0ff3l/fileterm/fileterm-multiplatform-desktop/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.

agentmods 80×15 button for fileterm-multiplatform-desktop

Your own site · 80×15
<a href="https://agentmods.dev/skills/st0ff3l/fileterm/fileterm-multiplatform-desktop"><img src="https://agentmods.dev/badge/skills/st0ff3l/fileterm/fileterm-multiplatform-desktop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 626 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.00626
Opus 5.5 $0.00015 $0.00250
Sonnet 5.5 $0.00007 $0.00125
Haiku 4.5 $0.00004 $0.00063

Measured 10d ago against content hash 08ffb4139095, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

fileterm-multiplatform-desktop 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 10d 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.

.agents/skills/fileterm-multiplatform-desktop/SKILL.md · 31 lines

What it actually says

FileTerm 跨平台桌面行为

先确定行为属于原生窗口、renderer 还是 xterm/远端程序。同名“关闭”和“缩放”不能共用错误的处理链。

平台与归属

  • 平台唯一来源是 window.fileterm.platform(darwin / win32 / linux / browser);CSS 使用根节点 data-platform,不用 UA 或 navigator.platform 猜测。
  • 原生窗口/菜单走 Rust commands;renderer 经 tauri-api.ts 调用。终端选择、查找和字号留在 TerminalView/xterm。
  • macOS 保留原生 traffic lights;Windows/Linux 用自绘 WindowMenubar。拖拽区域与可点击控件分离;主窗口和独立窗口保持各自 frame/关闭链路。
  • 菜单、快捷键、标题栏和 tray 汇聚到同一关闭/退出决策链。区分关闭 pane/tab、关闭窗口、退出、隐藏到 tray。
  • 新增/迁移快捷键时核对平台、焦点、既有拥有者及 xterm 远端输入;不抢裸 Ctrl+W 等远端按键。
  • 终端字号变化重新计算网格并同步远端 PTY;保留字体度量校准,不用 WebView zoom 代替终端字号。

按需细节

  • 窗口、菜单、复制粘贴、选择、快捷键、pinch 或字体变更:读 窗口与终端交互 对应章节。
  • UI 控件和 CSS:使用 通用组件 skill,不另立目录或颜色规范。
  • Dock/tray、CWD 或远端平台探测:读 平台与协议约束。
  • macOS 标题栏几何、Windows 建窗线程及启动显窗行为:按需查 docs/design.md 与 docs/architecture.md 对应章节,保留原生校准算法。

验证

遵守 AGENTS.md 的代码门禁。窗口布局检查 traffic lights/menubar、窄窗口、最大化、高 DPI 与 CJK 字体截断;快捷键/手势检查输入框和终端焦点、菜单文案与实际 handler。

对应行为仍需 macOS、Windows、Linux 实测;没有平台环境时如实报告,不能把浏览器模拟视为原生平台通过。桌面截图与操作先按 docs/quality/desktop-ui-preview.md 识别目标开发进程。

Files

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.

Changes

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.

  1. 10d ago First seen · 31 lines · 37 tokens per session scan A 08ffb4139095

Subscribe to this mod's changes

fileterm-multiplatform-desktop is a skill published in the GitHub repository St0ff3l/fileterm (422 stars, last pushed 2d ago), licensed MIT. It adds 37 tokens to every session and 626 once invoked, about $0.0001 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-10-27.

Related

fileterm-multiplatform-desktop compared with skills from other repositories

fileterm-multiplatform-desktop next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fileterm-multiplatform-desktopSt0ff3l/filetermSkill4222d agoMITA37Claude Code, Codex
build-ghost-appTryGhost/GhostSkill56kyesterdayMITA44Claude Code, Codex
material-ui-tailwindmui/material-uiSkill99kyesterdayMITA67Claude Code, Codex
fuzzy-rankingTanStack/tableSkill29k4d agoMITA62Claude Code, Codex
r3f-best-practiceszebbern/claude-code-guideSkill4.7k3d agoMITA74Claude Code, Codex
git-safetytamagui/tamaguiSkill14ktodayMITA0Claude Code
fast-typescript-checkinternet-development/www-sacredSkill1.6k2d agoMITA84Claude Code, Codex