Skip to content
Skill

Clone

Walks through an existing app, screenshots every screen and builds an index and stories

Clone is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
shell
Platforms
Claude Code
GitHub stars
2K
Last commit
License
MIT
Listing updated

Similar skills

About Clone

This skill guides an agent through surveying an existing app, either a native Mac or Electron app driven by computer use or a web app driven by a browser tool. The agent captures each screen, menu, and dialog, saving full-resolution files with a bundled bash script that grabs the app's largest window, and records what it observes in a screen index covering layout, elements, actions, and shortcuts.

The workflow sets privacy ground rules first: the agent looks without changing data, uses a demo account where possible, and reports any changes it notices. It then follows a fixed walk order from the main window through sidebar items, views, detail panels, creation flows, context menus, the menu bar, settings, empty states and dark mode. The output ends with navigation, command and data model maps, and it hands off to a user-stories skill so every captured screen is tied to a story or listed as dropped.

It expects computer use access with Accessibility and Screen Recording permissions, or a browser tool such as Playwright, and works with shell access for the capture script. Its stated purpose is rebuilding an app for personal use while avoiding copied text, logos or icons.

When your agent uses it

Walk through any existing app (native Mac app with computer use, web app with a browser), screenshot every screen, menu, and dialog, write a screen index, and turn it into user stories. Use when the user wants to clone, rebuild, replace, or copy the design of an app, or says "screenshot every screen".

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 3 files (6 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the bama plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add daveebbelaar/bama
/plugin install bama@bama

Or copy only this skill to ~/.claude/skills/clone:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/daveebbelaar/bama.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/clone &&
cp -R "$tmp/skills/plan/clone" ~/.claude/skills/clone &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/clone inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/clone to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/daveebbelaar/bama.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/clone &&
cp -R "$tmp/skills/plan/clone" ~/.agents/skills/clone &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/clone inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/clone to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/daveebbelaar/bama.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/clone &&
cp -R "$tmp/skills/plan/clone" ~/.cursor/skills/clone &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/clone inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/daveebbelaar/bama.git --path skills/plan/clone

Or copy the folder to ~/.gemini/skills/clone yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/clone:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/daveebbelaar/bama.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/clone &&
cp -R "$tmp/skills/plan/clone" ~/.copilot/skills/clone &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/clone inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/daveebbelaar/bama.git

Then copy bama/skills/plan/clone into your agent's skills folder as clone. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Guided app walkthrough
A fixed page-by-page order covering sidebars, views, menus, settings and empty states.
Full-resolution screenshots
A bash script saves the app's largest window to disk at full size for each screen.
Screen index
Writes a per-screenshot markdown index describing layout, elements, actions and shortcuts.
Navigation and command maps
Produces maps of sidebar destinations, menu items and keyboard shortcuts.
Data model guess
Lists the nouns and fields observed so the underlying data structure can be sketched.
Story generation
Hands off to a user-stories skill so each captured screen links to a backlog story.
Privacy-first capture
Encourages demo data and looking without changing anything unless the user asks.

Good for

  • Clone the layout of a native Mac task manager for personal use
  • Screenshot every screen of a web app and write an index of it
  • Reverse-engineer the menus and shortcuts of an Electron app
  • Turn a walkthrough of an existing app into a user story backlog
  • Document the settings panes and empty states of a product before rebuilding it

Clone FAQ

What does the skill need to run?

Computer use with a Pro or Max plan and Accessibility and Screen Recording permissions for native or Electron apps, or a browser tool such as the built-in browser, Claude in Chrome or Playwright for web apps. Screenshots are saved with a bash script bundled in the skill.

Does it change data in the app being cloned?

The skill tells the agent to look without touching, and to type, create, change or delete only when the user asks. If a data change is noticed during the walk, the agent is told to report it.

What does Clone produce?

A docs/screens folder of PNG screenshots, an INDEX.md with a section per screenshot, navigation, command and data model maps, and a docs/STORIES.md backlog built with the user-stories skill.

Can Clone copy an app's branding?

No. The skill says to describe structure and behavior and not take text, logos or icons from the app, since rebuilding for personal use is fine but copying a brand is not.

How do I install Clone in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/clone to use it in all your projects, or to .claude/skills/clone in one project. Or install the bama plugin, which includes it: /plugin marketplace add daveebbelaar/bama, then /plugin install bama@bama.

Does Clone run scripts?

Yes. It runs shell scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Clone?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Clone?

The closest alternatives to Clone are Build and verify, UI screenshots, New mac app, Webapp testing and Improve loop.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from daveebbelaar/bama

  1. Gives a macOS app a CLI and optional MCP server so agents can drive it

    • Open source
    • 2K GitHub stars
    • Developer tools
  2. Runs a架构 check-in on a growing Swift app and refactors it in proven steps

    • Open source
    • 2K GitHub stars
    • Developer tools
  3. Guides a native macOS app through system entry points and their required permissions

    • Open source
    • 2K GitHub stars
    • Developer tools
  4. Measure and speed up a macOS app's hangs, stutter, memory and energy use

    • Open source
    • 2K GitHub stars
    • Developer tools
  5. Swift 6 and SwiftUI rules for macOS apps: concurrency, state, SwiftData and fixes

    • Open source
    • 2K GitHub stars
    • Developer tools
  6. Guides an agent to build a Liquid Glass macOS app icon as an Icon Composer file

    • Open source
    • 2K GitHub stars
    • Design and media