/flocon:flocon-setupfrom flocon
Installs or migrates the Flocon debugging SDK in Android, Kotlin Multiplatform, Swift (iOS), or Flutter projects. Handles dependency setup, initialization, plugin installation, and version upgrades.
Ships in flocon. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Flocon is a debugging SDK: the app talks to Flocon Desktop. This skill puts the SDK in a project, or moves an existing integration to a newer version. It does not debug a running app (that is flocon-mcp).
Always follow the docs of the SDK used when they are available: for Kotlin, the repository docs docs/install-kotlin.md (install), docs/connect.md (connection), docs/migration.md (1.x to 2.0) and the feature pages; for Swift, the README of openflocon/FloconSwift and its DocC comments; for Flutter, the README of openflocon/FloconFlutter and the Dart doc comments of the packages. If this skill and those docs disagree, the docs win; tell the user.
Answer from the project files; ask the user only what the files cannot tell.
| Look for | Platform |
|---|---|
com.android.application / com.android.library, no kotlin("multiplatform") | Android |
kotlin("multiplatform") with commonMain / iosMain | Kotlin Multiplatform (an iOS app consuming the KMP framework is still KMP for Flocon) |
*.xcodeproj / *.xcworkspace / Package.swift, no Kotlin framework providing Flocon | Swift (iOS / macOS) |
pubspec.yaml with sdk: flutter | Flutter (its android/ and ios/ folders are generated host apps: use the Flutter rules, not the Android or Swift ones) |
A repository can hold several apps: handle each app with its platform rules.
Android / KMP (Kotlin SDK, io.github.openflocon artifacts):
| Look for | Tells you |
|---|---|
io.github.openflocon in libs.versions.toml / *.gradle.kts | Flocon already used: read its version |
Flocon.initialize( or import io.github.openflocon.flocon.plugins. | Kotlin SDK 1.x |
startFlocon( | Kotlin SDK 2.x |
Swift (openflocon/FloconSwift): read the version from Package.resolved / project.pbxproj (revision or version of FloconSwift, and FloconSwiftGrpc). Do not use the start function as a version marker: the Swift SDK has both startFlocon { } and Flocon.initialize(). Details in references/swift.md.
Flutter (flocon* packages on pub.dev): read the version of flocon in pubspec.lock. Do not infer it from the start function. 0.0.x is the current API, not a legacy one: the future 2.0.0 will have its own migration page in references/migrations/. Details in references/flutter.md.
Then pick one path, and read only the file you need:
A future migration is a new file in references/migrations/.
Android / KMP
-no-op twin with the same API, used in release and in any non-debug variant (dependency substitution for KMP).Swift
.network only covers URLSession.shared; every other session needs withFlocon() on its configuration before the session is created. Background sessions are not instrumented.xcodebuild (list them with xcodebuild -list).Flutter
if (kDebugMode) around the start; the packages and their native code stay in the release binary. Removing the Flocon Dart code from it needs a debug-only entry point: ask once if the user's wording does not settle it. See references/flutter.md.withFlocon(); top-level http.get(...) and clients created elsewhere are not. Inventory them.pubspec.lock): the facade (Flocon.analytics, Flocon.featureFlags...) and the top-level functions (floconAnalytics(...)) are two generations, see references/flutter-data.md.10.0.2.2 Android emulator, localhost iOS Simulator / macOS, the computer's IP on a device), and each target needs its permission (INTERNET, NSLocalNetworkUsageDescription, macOS network entitlement).flutter analyze and build the targets the project ships, debug and release.references/android.md (opens in a new tab)references/flutter-data.md (opens in a new tab)references/flutter-network.md (opens in a new tab)references/flutter.md (opens in a new tab)references/kmp.md (opens in a new tab)references/migrations/v1-to-v2.md (opens in a new tab)references/swift-analytics-flags.md (opens in a new tab)references/swift-connection.md (opens in a new tab)references/swift-network.md (opens in a new tab)references/swift-storage.md (opens in a new tab)references/swift.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub openflocon/flocon --plugin flocon2 skills in this plugin
Other plugins' skills for the same job