Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

ink-custom-brush-builder

Skill by android

Creates custom BrushFamily definitions for Android apps using Jetpack Ink (androidx.ink 1.1.0-alpha03 and higher). It covers brush tips, pressure and tilt behaviors, multi-coat layers, textures and serialization. Built for Android developers writing custom brushes.

  • Score 94
  • 11k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install ink-custom-brush-builder

Built from the published package, never by AI.

git clone --depth 1 https://github.com/android/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/jetpack-compose/ink/ink-custom-brush-builder ~/.claude/skills/ink-custom-brush-builder

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install ink-custom-brush-builder in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This agent skill guides an AI assistant through building custom brushes for Android apps with Jetpack Ink. Custom brushes are built around a BrushFamily hierarchy that holds an input model and one or more BrushCoat layers. Each coat has a BrushTip, BrushBehavior nodes that respond to stylus or touch input, and a BrushPaint for visual appearance. The skill delivers complete Kotlin implementations and routes Compose drawing surface, eraser, and persistence questions to the ink-app-builder skill.

The source says it requires androidx.ink 1.1.0-alpha03 or higher, because earlier versions kept these classes restricted. It also lists antipatterns, such as avoiding raw ink.proto builders, manual Bezier smoothing, and JSON serialization of BrushFamily. It is aimed at developers who need custom brush definitions, not View-based XML inking or stock brush selection.

Written from the project's SKILL.md and checked against it.

What it can do

  • BrushFamily and BrushCoat setupDefines custom brush families with one or more layered coats.
  • BrushTip shape configurationSets tip geometry such as scale, corner rounding, rotation, slant and pinch.
  • BrushBehavior node graphsMaps stylus pressure, tilt, speed or noise to brush properties.
  • BrushPaint appearanceConfigures self overlap, color functions and texture layers.
  • Texture layersAdds tiling or stamping textures with a TextureBitmapStore.
  • Input smoothingConfigures SlidingWindowModel input smoothing for strokes.
  • Brush serializationEncodes and decodes custom BrushFamily definitions with the ink-storage APIs.
  • Complete brush recipesProvides copy-ready pressure pen, calligraphy, pencil, watercolor and shadow brushes.

What you need

  • Android project using Jetpack Ink androidx.ink 1.1.0-alpha03 or higher
  • ink-brush, ink-brush-compose, ink-storage and ink-nativeloader dependencies
  • Texture image files for textured brushes

Try asking

  • Create a custom calligraphy brush that changes width with stylus tilt.
  • Build a multi-coat shadow brush for my Android Ink app in Kotlin.
  • Add pressure-sensitive size and noise wobble to my BrushFamily.

Good to know

  • Requires androidx.ink 1.1.0-alpha03 or higher for public custom brush APIs.
  • Does not cover View-based (XML) inking or stock brush selection.
  • Compose drawing surface, eraser and persistence are handled by the ink-app-builder skill.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: jetpack-compose/ink/ink-custom-brush-builder/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md7 KB
  • references/android/develop/ui/compose/touch-input/stylus-input/ink-api-brush-apis.md5 KB
  • references/brush-behaviors.md11 KB
  • references/brush-structure.md10 KB
  • references/examples.md12 KB
Show all 6 files
  • references/textures-and-serialization.md8 KB

Alternatives to ink-custom-brush-builder

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

ink-custom-brush-builder: common questions

Which Jetpack Ink version does this skill need?

The source says it requires androidx.ink 1.1.0-alpha03 and higher. In 1.0.0 stable and 1.1.0-alpha01 to alpha02, the custom brush classes were restricted to the library group.

Can this skill serialize custom brushes to JSON?

No. The source says not to serialize BrushFamily as JSON, Gson, Moshi or Parcelable, and to use BrushFamily.encode and decode or AndroidBrushFamilySerialization instead.

Does this skill help with Compose drawing surfaces?

No. The source says Compose drawing surface setup, InProgressStrokes rendering, eraser and persistence are out of scope and should be handled by the ink-app-builder skill.

How do I install ink-custom-brush-builder?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is ink-custom-brush-builder free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is ink-custom-brush-builder safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to ink-custom-brush-builder?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

ink-custom-brush-builder Install

Add to stack

Loading.