apk-smb-sync

apk-smb-sync is a skill for Claude Code, Codex from fainaltn/findeck. It costs 67 tokens per session (750 once invoked), scanned A, original, MIT.

A delivery workflow for Android APK files, the installable packages used to distribute Android apps. It reads the app version, gives the file a dated name, and copies it to a local network SMB share, a shared folder protocol.

In plain words
What is it for?
Use it after an Android update to archive and deliver the built APK to the configured LAN shared folder.
Why use it?
It removes repetitive release handoff work and keeps APK files labelled by app name, version, and date.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it after an Android update to archive and deliver the built APK to the configured LAN shared folder.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fainaltn/findeck/apk-smb-sync
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add fainaltn/findeck --skill apk-smb-sync
Clone the repo
git clone --depth 1 https://github.com/fainaltn/findeck

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for apk-smb-sync

README.md
[![agentmods](https://agentmods.dev/badge/skills/fainaltn/findeck/apk-smb-sync/github.svg)](https://agentmods.dev/skills/fainaltn/findeck/apk-smb-sync)
Your own site
<a href="https://agentmods.dev/skills/fainaltn/findeck/apk-smb-sync"><img src="https://agentmods.dev/badge/skills/fainaltn/findeck/apk-smb-sync/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for apk-smb-sync

Your own site · 80×15
<a href="https://agentmods.dev/skills/fainaltn/findeck/apk-smb-sync"><img src="https://agentmods.dev/badge/skills/fainaltn/findeck/apk-smb-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 750 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00067 $0.00750
Opus 5 $0.00034 $0.00375
Sonnet 5 $0.00013 $0.00150
Haiku 4.5 $0.00007 $0.00075

Measured 8d ago against content hash 742fc14e2fec, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

apk-smb-sync scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/build_and_publish_apk.sh, scripts/prepare_apk_artifact.sh, scripts/publish_apk_to_smb.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/apk-smb-sync/SKILL.md · 60 lines

How it starts

The opening of the file, as written. The whole thing — 60 lines — stays where its author put it; the contents beside it link to each section on GitHub.

APK SMB Sync

Use this skill when the user wants to push an updated Android APK into the LAN SMB share as a dated delivery artifact.

Default flow

  1. Confirm the APK to publish. In this repo the default source is apps/android/app/build/outputs/apk/debug/app-debug.apk.
  2. Read versionName from apps/android/app/build.gradle.kts unless the user gives a different version.
  3. Use the APK file modification date as the version date unless the user gives a different date.
  4. Rename the APK into a dated artifact named like YYYY-MM-DD_findeck_v0.1.4.apk.
  5. Copy the APK into the default LAN target smb://192.168.2.1/share/.

Project-specific guardrails

  • In this repository, the default delivery artifact is the raw APK, not a zip wrapper.
  • The default label must be findeck; never reuse names from unrelated projects or SMB share history.
  • The default SMB target should point to the share or subdirectory, not embed a legacy filename unless the user explicitly asks for one.
  • The build wrapper should work both with and without extra publish arguments; do not assume there is always a trailing -- ... section.

Preferred command

Run:

./skills/apk-smb-sync/scripts/build_and_publish_apk.sh

This command builds the Android debug APK first, then copies the dated APK to the SMB share.

If you already have a fresh APK and only want to publish it:

./skills/apk-smb-sync/scripts/publish_apk_to_smb.sh

Useful overrides:

./skills/apk-smb-sync/scripts/build_and_publish_apk.sh \
  --target-url smb://192.168.2.1/share/ \
  --version-date 2026-04-14 \
  --dry-run

Notes

  • The default artifact name is YYYY-MM-DD_findeck_v<version>.apk.
  • The build wrapper uses apps/android/gradlew assembleDebug and then publishes apps/android/app/build/outputs/apk/debug/app-debug.apk.
  • If a generated filename or target path contains a project name unrelated to findeck, treat that as a skill bug and correct the skill/scripts before publishing.
  • If apps/android/local.properties is missing, the build wrapper tries ANDROID_HOME, ANDROID_SDK_ROOT, ~/Library/Android/sdk, and /opt/homebrew/share/android-commandlinetools, then exports the detected SDK path for Gradle.
  • If the SMB share is already mounted under a non-default path such as ~/smb/share, the publish script should reuse that existing mount automatically.
  • If the SMB share is not mounted yet, the script tries to open smb://192.168.2.1/share in Finder and waits for the mount point to appear.
  • If the publish step still complains about the mount point, inspect the real path with mount | grep smb or smbutil statshares -a, then rerun with --mount-point /actual/path.
  • If the source APK is missing, stop and either build the APK first or ask the user which APK file should be published.

Read the full file on GitHub · 60 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 60 lines · 67 tokens per session scan A 742fc14e2fec

Subscribe to this mod's changes

apk-smb-sync is a skill published in the GitHub repository fainaltn/findeck (1 stars, last pushed 4mo ago), licensed MIT. It adds 67 tokens to every session and 750 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

sceneview-ios

Build 3D and AR apps on Apple platforms (iOS, macOS, visionOS) with SceneViewSwift — the SwiftUI wrapper around RealityKit. Use whenever the user asks for "3D in SwiftUI", "AR with ARKit in SwiftUI", a model viewer for iOS, or any Apple-platform 3D/AR app where the dependency is the SceneViewSwift Swift Package from…

sceneview/sceneview · 148 tokens

sceneview

Build 3D and AR apps with the SceneView SDK in Jetpack Compose, SwiftUI (iOS/macOS/visionOS via SceneViewSwift), Web (Filament.js), Flutter and React Native. Use whenever the user asks for "3D in Compose", "AR with ARCore in Compose", a model viewer, or any cross-platform 3D/AR app where the dependency is…

sceneview/sceneview · 156 tokens

compose-animations

Use when writing or reviewing Jetpack Compose motion: visibility enter/exit, animating one property toward a target, color or size transitions, multiple properties from one state, switching composable content, or choosing between AnimatedVisibility, animateAsState, rememberTransition, AnimatedContent, and Crossfade.

chrisbanes/skills · 64 tokens

compose-focus-navigation

Use when writing or reviewing Jetpack Compose UI for TV, keyboard, desktop, accessibility focus, D-pad navigation, FocusRequester, focusProperties, key events, or initial focus behavior.

chrisbanes/skills · 41 tokens

compose-state-and-effects

Use when writing or reviewing Jetpack Compose state ownership, remember state, state hoisting, screen state holders, LaunchedEffect, DisposableEffect, SideEffect, Flow collection, navigation, snackbar, analytics, or focus requests.

chrisbanes/skills · 50 tokens

compose-component-design

Use when designing or reviewing reusable Jetpack Compose component APIs with modifier parameters, root layout placement, caller-provided variable content, primitive content parameters, optional content, or boolean shape flags.

chrisbanes/skills · 41 tokens