polymath-void/ai-agents-skills-workspace/piuu-pip-side-edge-assist

Claude Code and agent skill by polymath-void/ai-agents-skills-workspace

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Floating side-edge bar assist, vertical edge dragging, top drop removal header zone, persistent Notes repository, and quick app switcher.

Install

npx vskill@latest install polymath-void/ai-agents-skills-workspace/piuu-pip-side-edge-assist

SKILL.md

The same SKILL.md was published earlier as polymath-void/ai-agents-skills-workspace/piuu-pip-side-edge-assist.

🛸 Piuu PiP Side Edge Assist & Notes Skill (piuu-pip-side-edge-assist)

This skill documents building floating overlay services (TYPE_APPLICATION_OVERLAY), side-edge docking, auto-hiding, drop-to-remove drag zones, and persistent local notes storage.


📍 1. Side Edge Placement & Drag Gesture Window Management

kotlin
val params = WindowManager.LayoutParams(
WindowManager.LayoutParams.WRAP_CONTENT,
WindowManager.LayoutParams.WRAP_CONTENT,
WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY,
WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE,
PixelFormat.TRANSLUCENT
).apply {
gravity = Gravity.TOP or (if (config.pipEdgeSide == "left") Gravity.LEFT else Gravity.RIGHT)
x = 0
y = 300
}

🗑️ 2. Top Header Drop-to-Remove Zone (DismissZoneComposable)

When user drags the floating pill vertically near the top header ($Y < 150\text{px}$), display the red drop removal zone and stop the floating service on release:

kotlin
if (isDragging && currentParams.y < 150) {
stopSelf() // Stop floating overlay service on top drop zone release
}

📝 3. Persistent Local Notes Repository (NotesRepository.kt)

Store quick memos and launcher notes permanently using JSON payloads inside SharedPreferences:

kotlin
class NotesRepository(context: Context) {
private val prefs = context.getSharedPreferences("piuu_notes_prefs", Context.MODE_PRIVATE)
private val _notes = MutableStateFlow<List<LauncherNote>>(emptyList())
val notes: StateFlow<List<LauncherNote>> = _notes
fun addNote(title: String, content: String) {
val newNote = LauncherNote(title = title, content = content)
val updated = listOf(newNote) + _notes.value
_notes.value = updated
saveToDisk(updated)
}
}

🛠️ Required & Associated Agent Workspace Tools

When building overlay services, floating window controllers, or StateFlow stores, activate these tools from `AI-Agents-Workspace-Tools-Library`:

  • `wc-scaffold` (`docs`): Scaffolds Android Services, Compose floating views, and StateFlow repositories.
  • `wc-code-mod` (`docs`): Injects window manager flag updates and coordinate calculations across Kotlin source files.
  • `wc-crash-doctor` (`docs`): Isolates BadTokenException and overlay permission crashes from logcat.
  • Upcoming Tool Note: wc-pip-overlay (Android overlay window permission checker) is scheduled for implementation.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/polymath-void/ai-agents-skills-workspace/piuu-pip-side-edge-assist/badge)](https://verified-skill.com/skills/polymath-void/ai-agents-skills-workspace/piuu-pip-side-edge-assist)

Something wrong with this skill or its page? Tell us.