SkillAgentSearch skills...

P4OC

OpenCode client. Streaming chat, inline diffs, terminal UI. BYO server.

Install / Use

npx skills add theblazehen/P4OC

Installs into whichever agent you are using.

About this skill
šŸ“¦

Other

Other agent config

Quality Score

81/100

Supported Platforms

Universal

Our assessment of P4OC

P4OC scores 81/100 on our quality scale, 3452nd of 4,614 Development & Engineering skills we index.

Its Other is 5.0 KB long, well organised into 12 sections with 4 code examples: a solid amount of guidance for an agent.

It has 87 GitHub stars, a meaningful sign that others use it.

Substance
26/30
Structure
20/20
Description
12/15
Adoption
8/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated 26 days ago, so P4OC is actively maintained.
  • Our last check on 2026-10-21 found the source still online.
  • It is released under GPL-3.0, a copyleft license: you can use it, but modified versions you distribute must carry the same license.
  • Its trust signals score 95/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

Safety scan

No issues found

Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.

AI review by kimi-k2.7-code on 2026-09-24. Automated pattern scan on 2026-09-24. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.

P4OC compared with similar skills

All 4 of these similar skills score higher than P4OC; compare them before choosing.

SkillScoreStarsUpdatedFormat
P4OC (this skill)by theblazehen818726d agoOther
taste-skillby Leonxlnx100111.0k1d agoCLAUDE.md
ai-job-searchby ai-job-search-dev10070.0ktodayCLAUDE.md
claude-howtoby luongnv8910046.6k3d agoCLAUDE.md
lobehubby lobehub10084.2ktodayMCP Server

Frequently asked questions

How do I install P4OC?
Run npx skills add theblazehen/P4OC. The install tabs above show the steps for each supported agent.
Which AI agents does P4OC work with?
It is written for Universal, as a Other file. Other agents that read the same format can often use it too.
Is P4OC safe to use?
Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is GPL-3.0-licensed and scores 95/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is P4OC still maintained?
The repository was last updated 26 days ago, so P4OC is actively maintained.

P4OC (Pocket for OpenCode)

GitHub Release Build License

<a href="https://play.google.com/store/apps/details?id=dev.blazelight.p4oc"> <img src="https://raw.githubusercontent.com/pioug/google-play-badges/main/svg/en.svg" alt="Get it on Google Play" height="80"> </a>

An Android client for OpenCode, the terminal-based AI coding assistant. You point it at a running OpenCode server and talk to it from your phone.

Note: P4OC is a community project and is not built by or affiliated with the OpenCode team.

The whole thing is built around a terminal UI aesthetic. No stock Material3 cards or rounded corners. Everything is flat, monospaced where it matters, and styled to look like it belongs in a terminal.

Quick Start

  1. Start OpenCode in server mode:

    opencode serve --hostname 0.0.0.0 --port 4096
    

    To require authentication, set OPENCODE_SERVER_PASSWORD before starting the server.

  2. Install P4OC from Google Play or GitHub Releases

  3. Enter your server URL (e.g. http://192.168.1.100:4096) and start chatting

What it does

You connect to an OpenCode server instance by entering its URL. From there you can:

  • Chat with the AI assistant, with streaming responses via SSE
  • Manage sessions — create, rename, share, summarize, view diffs, revert changes
  • Browse project files with symbol search and syntax highlighting
  • View file diffs from AI edits with additions/deletions
  • Use an embedded terminal (Termux-based)
  • Open sub-agent sessions in their own tabs
  • Configure providers, models, agents, and skills
  • Switch between 9 bundled color themes (catppuccin, dracula, nord, tokyonight, gruvbox, and others)

The release APK is around 2.9 MB.

Screenshots

<p align="center"> <img src="screenshots/screenshot_1.png" width="300" /> &nbsp;&nbsp; <img src="screenshots/screenshot_2.png" width="300" /> </p>

Requirements

  • Android 8.0+ (API 26)
  • A running OpenCode server instance to connect to

Building

You need Java 17 and the Android SDK.

# Debug build (no signing required)
export JAVA_HOME=/usr/lib/jvm/java-17-openjdk
./gradlew :app:assembleDebug

The APK lands in app/build/outputs/apk/debug/.

For release builds, create a local.properties file in the project root with your signing config:

RELEASE_STORE_FILE=/path/to/your/keystore.jks
RELEASE_STORE_PASSWORD=your_store_password
RELEASE_KEY_ALIAS=your_key_alias
RELEASE_KEY_PASSWORD=your_key_password

Then:

./gradlew :app:assembleRelease

How it works

The app connects to an OpenCode server over HTTP. It uses Retrofit for REST calls and LaunchDarkly's EventSource for SSE streaming. Messages come in as server-sent events, which the app parses and renders in real time.

The architecture is MVVM with clean architecture layers:

app/src/main/java/dev/blazelight/p4oc/
ā”œā”€ā”€ core/        # Network layer, DataStore, connection management
ā”œā”€ā”€ data/        # DTOs, mappers, repository implementations
ā”œā”€ā”€ di/          # Koin dependency injection modules
ā”œā”€ā”€ domain/      # Models, repository interfaces
ā”œā”€ā”€ terminal/    # Termux terminal emulator integration
└── ui/
    ā”œā”€ā”€ components/  # Shared TUI components, markdown renderer, code blocks
    ā”œā”€ā”€ navigation/  # NavGraph, route definitions
    ā”œā”€ā”€ screens/     # Chat, sessions, projects, settings, terminal, files, diff
    └── theme/       # Theme system (SemanticColors, Spacing, Sizing, Typography, Motion)

Theme system

The app uses a custom theme system instead of Material3's built-in theming. There are about 50 semantic color tokens (LocalOpenCodeTheme.current), plus Spacing.*, Sizing.*, TuiShapes (all 0dp corners), and Motion.* tokens. Themes are loaded from JSON files that follow OpenCode's theme format.

Bundled themes: catppuccin, catppuccin-frappe, catppuccin-macchiato, dracula, gruvbox, nord, opencode, tokyonight, xterm.

Tech stack

| What | Version | |------|---------| | Kotlin | 2.3.0 | | AGP | 9.0.0 | | Compose BOM | 2026.01.01 | | Min SDK | 26 (Android 8.0) | | Target SDK | 35 | | Compile SDK | 36 |

Networking: OkHttp 5.3 + Retrofit 3.0. DI: Koin 4.1. Database: Room 2.8. Serialization: kotlinx.serialization 1.10. Markdown: mikepenz multiplatform-markdown-renderer. Terminal: Termux terminal-emulator + terminal-view.

Contributing

See CONTRIBUTING.md.

License

Copyright 2025 Jasmin Le Roux

Licensed under the GNU General Public License v3.0. See LICENSE for the full text.

Related Skills

View on GitHub
GitHub Stars87
CategoryDevelopment
Updated26d ago
Forks21

Languages

Kotlin

Trust signals

95/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

1 low
P4OC — Other: Install & Safety Check | SkillAgent