Agent skill

Flutter Screenshot

by JustLookAtNow in JustLookAtNow/pt_mate

Capture and show two Flutter UI screenshots for this project: one landscape/large-screen preview and one portrait/mobile preview, without using Flutter Web.

MITAuto-check passedMobile

Install Flutter Screenshot

skills CLI
$ npx skills add JustLookAtNow/pt_mate --skill flutter-screenshot -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install JustLookAtNow/pt_mate flutter-screenshot --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/JustLookAtNow/pt_mate.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/flutter-screenshot .claude/skills/flutter-screenshot && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
flutter-screenshot
GitHub stars
503
Token cost
~511 tokens
SKILL.md length
229 words
Files
3 (incl. scripts)
Skills in repo
4
Repo updated
First seen
Licence
MIT

At a glance

Capture and show two Flutter UI screenshots for this project: one landscape/large-screen preview and one portrait/mobile preview, without using Flutter Web.

  • Works in 5 steps: Choose the entrypoint → Run the bundled script from the… → The script starts flutter run -d linux,… → …
  • Tasks that involve Cross-platform mobile apps
  • SKILL.md covers Workflow and Notes
  • Runs Python scripts from its folder; calls python3 and flutter

What it does

Flutter Screenshot is an agent skill from JustLookAtNow/pt_mate. Capture and show two Flutter UI screenshots for this project: one landscape/large-screen preview and one portrait/mobile preview, without using Flutter Web.

Its SKILL.md is about 510 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts (for example `agents/openai.yaml` and `scripts/capture_flutter_screenshots.py`).

It sits in Mobile, covering Cross-platform mobile apps. It works with Flutter. The repository describes itself as: 基于 Flutter(Material Design 3)开发的私有种子站点客户端,支持多种PT站点的种子浏览、搜索和下载管理。目前支持M-Team和NexusPHP类型的站点。 The licence is MIT.

When your agent uses it

  • Tasks that involve Cross-platform mobile apps

Example prompts

  • “/flutter-screenshot”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Choose the entrypoint
  2. Run the bundled script from the repository root
  3. The script starts flutter run -d linux, locates the app window, captures
  4. Open both images with view_image before replying. Confirm they are not blank and show the expected screen.
  5. Reply in Chinese with both Markdown image links

What it can do on your machine

Read from SKILL.md and the folder at commit db24c99. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3
    • flutter

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Flutter Screenshot loads about 511 tokens when it runs. Until then it costs about 44 tokens; SKILL.md has 229 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~44
When it runs · the whole SKILL.md, loaded when a task matches
~511

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from JustLookAtNow/pt_mate at commit db24c99, republished under its MIT licence (© JustLookAtNow). 229 words, ~511 tokens.

Download SKILL.mdSave it as .claude/skills/flutter-screenshot/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
flutter-screenshot
description
Capture and show two Flutter UI screenshots for this project: one landscape/large-screen preview and one portrait/mobile preview, without using Flutter Web.

Flutter Screenshot Skill

Use this skill when the user asks to screenshot the Flutter app or a changed UI in this repository, especially when they want both desktop/large-screen and mobile/portrait previews. This project does not use Flutter Web for screenshots.

Workflow

  1. Choose the entrypoint:

    • Use lib/main.dart unless a narrow preview is safer.
    • If a page-specific preview is needed, create a temporary entrypoint under /tmp and delete it after screenshots. Do not add preview entrypoints to the repo.
  2. Run the bundled script from the repository root:

    bash
    python3 .agents/skills/flutter-screenshot/scripts/capture_flutter_screenshots.py \
      --target lib/main.dart \
      --output-dir /tmp/pt_mate_screenshots
  3. The script starts flutter run -d linux, locates the app window, captures:

    • large.png at 1280x720
    • mobile.png at 393x852
  4. Open both images with view_image before replying. Confirm they are not blank and show the expected screen.

  5. Reply in Chinese with both Markdown image links:

    markdown
    大屏预览:
    ![大屏预览](/tmp/pt_mate_screenshots/large.png)
    
    手机版预览:
    ![手机版预览](/tmp/pt_mate_screenshots/mobile.png)

Notes

  • The script requires the Linux desktop Flutter target, X11, and ImageMagick import.
  • In WSLg or remote desktop sessions, DISPLAY may be unset even when X11 is available. If xwininfo works with DISPLAY=:0, prefix the screenshot command with DISPLAY=:0.
  • Use a longer --settle-seconds value when the first capture shows a loading screen; verify the captured images before copying or reporting them.
  • Run the script with escalated permissions when the sandbox blocks GUI launch or X11 capture.
  • Keep screenshots in /tmp long enough for the user to view them; clean up temporary preview Dart files when done.

© JustLookAtNow, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (scripts) in .agents/skills/flutter-screenshot of JustLookAtNow/pt_mate.

  • SKILL.md
  • agents/openai.yaml
  • scripts/capture_flutter_screenshots.py

Open the folder on GitHubat commit db24c99

Compare with similar skills

Flutter Screenshot next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Flutter Screenshot compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Flutter Screenshot this skillJustLookAtNow/pt_mate503—~511Automated safety check: PassMIT
Add Flutter Docusaurus Localematthiasn/lotti1.2k—~1.2kAutomated safety check: PassGPL-3.0
Tm Launcher DesignFar-Se/tabame372—~3.1kAutomated safety check: PassMIT
Flutter Initbear2u/my-skills932—~2.5kAutomated safety check: PassNone
Mobile App UI Designceorkm/mobile-app-ui-design409—~2kAutomated safety check: PassNone
Marionette Flutter Drive Appleancodepl/marionette_mcp482—~11kAutomated safety check: PassApache-2.0

Similar skills

  • Add, complete, or audit a locale across a Flutter application's ARB catalogs and a localized Docusaurus manual, including generated localization code, locale selectors, native platform declarations…

    1.2k GitHub stars~1.2k tokensUpdated today
    MobileAuto-check passed
  • Tm Launcher Design

    Far-Se/tabame

    Create or revise Tabame's Flutter launcher designs: frames, search bars, result rows, palettes, typography, and action dialogs.

    372 GitHub stars~3.1k tokensUpdated today
    MobileAuto-check passed
  • Flutter Init

    bear2u/my-skills

    A skill your agent uses when user wants to create a new Flutter project (Todo/Habit/Note/Expense/Custom domain) with Clean Architecture, Riverpod 3.0, Drift, and modern Flutter stack

    932 GitHub stars~2.5k tokensUpdated 3 mo ago
    MobileAuto-check passed
  • Mobile App UI Design

    ceorkm/mobile-app-ui-design

    Design high-quality mobile app UI/UX screens, flows, and components.

    409 GitHub stars~2k tokensUpdated 3 mo ago
    MobileAuto-check passed
  • Marionette Flutter Drive App

    leancodepl/marionette_mcp

    Set up and drive a running Flutter app (debug or profile) with Marionette — an AI agent's hands and eyes for the app.

    482 GitHub stars~11k tokensUpdated 4 days ago
    MobileAuto-check passed
  • Flutter Add Widget Preview

    abdulmominsakib/localmind

    Adds interactive widget previews to the project using the previews.dart system.

    268 GitHub starsUsed in 1 repo~1.6k tokens
    MobileAuto-check passed

More from JustLookAtNow/pt_mate

  • Deploy Server

    JustLookAtNow/pt_mate

    将 server 后端新版本构建并部署到服务器;当用户要求更新测试环境或正式环境时使用。测试环境部署到 golakers:~/ptmate-beta 并直接运行;正式环境先停止 ptmate 服务,部署到 golakers:~/ptmate 后再启动 ptmate 服务。

    503 GitHub stars~678 tokensUpdated 4 days ago
    Auto-check passed
  • Release

    JustLookAtNow/pt_mate

    自动化项目的版本发布流程,包括版本号自增、ChangeLog 提取与汇总、代码提交、打标签以及推送到远程仓库. An agent skill from JustLookAtNow/pt_mate.

    503 GitHub stars~332 tokensUpdated 4 days ago
    Auto-check passed
  • Nexusphpweb Site Config

    JustLookAtNow/pt_mate

    适配 NexusPHPWeb 类型站点的站点配置与 infoFinder 字段编写。需要检查 assets/sitesmanifest.json 中站点 id 是否存在,缺失时先调用 Add Site 技能创建配置文件,然后依据 docs/SITECONFIGURATIONGUIDE.md 与 assets/siteconfigs.json 的 NexusPHPWeb 模板生成或更新…

    503 GitHub stars~366 tokensUpdated 4 days ago
    Auto-check passed

Works with

Categories

Questions about Flutter Screenshot

What does Flutter Screenshot do?

Capture and show two Flutter UI screenshots for this project: one landscape/large-screen preview and one portrait/mobile preview, without using Flutter Web. Flutter Screenshot is an agent skill from JustLookAtNow/pt_mate. Capture and show two Flutter UI screenshots for this project: one landscape/large-screen preview and one portrait/mobile preview, without using Flutter Web.

When should I use Flutter Screenshot?

Flutter Screenshot fits situations like: tasks that involve Cross-platform mobile apps.

How do I install Flutter Screenshot in Claude Code?

Run `npx skills add JustLookAtNow/pt_mate --skill flutter-screenshot -a claude-code`. Or copy the skill folder (.agents/skills/flutter-screenshot in JustLookAtNow/pt_mate) into .claude/skills/flutter-screenshot in your project. Claude Code loads it when a task matches its description.

How do I install Flutter Screenshot in Codex?

Run `npx skills add JustLookAtNow/pt_mate --skill flutter-screenshot -a codex`. Or copy the skill folder (.agents/skills/flutter-screenshot in JustLookAtNow/pt_mate) into .agents/skills/flutter-screenshot in your project. Codex loads it when a task matches its description.

Can I use Flutter Screenshot in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add JustLookAtNow/pt_mate --skill flutter-screenshot -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/flutter-screenshot, .gemini/skills/flutter-screenshot, .github/skills/flutter-screenshot and .opencode/skills/flutter-screenshot in your project.

What does Flutter Screenshot need to run?

Going by SKILL.md and its folder, Flutter Screenshot needs Python for the scripts in its folder and the command-line tools its instructions call (python3 and flutter). Our summary lists: Python 3.

Does Flutter Screenshot access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Flutter Screenshot safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Flutter Screenshot use?

Flutter Screenshot is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Flutter Screenshot use?

About 511 tokens (SKILL.md is roughly 2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Flutter Screenshot?

Skills that share tags, products or a category with Flutter Screenshot: Add Flutter Docusaurus Locale (matthiasn/lotti, 1.2k stars), Tm Launcher Design (Far-Se/tabame, 372 stars), Flutter Init (bear2u/my-skills, 932 stars) and Mobile App UI Design (ceorkm/mobile-app-ui-design, 409 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Flutter Screenshot?

JustLookAtNow (a GitHub user) maintains it in JustLookAtNow/pt_mate, which has 503 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 5, 2026.

Source: JustLookAtNow/pt_mate on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.