# Send Kotlin to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "kotlin",
    "name": "Kotlin",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/ivangdavila/kotlin",
    "canonicalUrl": "https://clawhub.ai/ivangdavila/kotlin",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/kotlin",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=kotlin",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "advanced.md",
      "android.md",
      "collections.md",
      "coroutines.md",
      "idioms.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "kotlin",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-04T19:26:08.006Z",
      "expiresAt": "2026-05-11T19:26:08.006Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=kotlin",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=kotlin",
        "contentDisposition": "attachment; filename=\"kotlin-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "kotlin"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/kotlin"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/kotlin",
    "downloadUrl": "https://openagent3.xyz/downloads/kotlin",
    "agentUrl": "https://openagent3.xyz/skills/kotlin/agent",
    "manifestUrl": "https://openagent3.xyz/skills/kotlin/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/kotlin/agent.md"
  }
}
```
## Documentation

### Quick Reference

TopicFileNull safety operators and patternsnullsafety.mdCoroutines, flows, structured concurrencycoroutines.mdCollections, sequences, data classescollections.mdScope functions, extensions, sealed classesidioms.mdJava interop and common Kotlin mistakesinterop.mdAndroid lifecycle, Compose stateandroid.mdDelegation, inline, reified, multiplatformadvanced.md

### Null Safety

!! asserts non-null — crashes on null, use only when you've already checked
Platform types from Java are risky — add null checks or use @Nullable/@NonNull annotations
Elvis with return/throw for early exit — val name = user?.name ?: return

### Coroutines

viewModelScope auto-cancels on ViewModel clear — don't use GlobalScope in Android
Structured concurrency: child coroutine failure cancels parent — use supervisorScope to isolate
StateFlow needs initial value and never completes — SharedFlow for one-shot events
Inject dispatchers for testability — don't hardcode Dispatchers.IO

### Collections & Data Classes

first() throws on empty — use firstOrNull() for safe access
Only constructor properties in equals/hashCode — body properties ignored
mutableStateListOf for Compose — wrapping mutableListOf in state won't track changes

### Scope Functions & Extensions

Don't nest scope functions — readability drops fast, extract to named functions
Extensions are resolved statically — not polymorphic, receiver type matters at compile time

### Android/Compose

repeatOnLifecycle(STARTED) for flow collection — launchWhenStarted is deprecated
remember survives recomposition only — use rememberSaveable for config changes
collectAsStateWithLifecycle is the gold standard — lifecycle-aware + Compose state

### Java Interop

== is structural equality in Kotlin — === for reference, opposite of Java
SAM conversion only for Java interfaces — Kotlin interfaces need explicit fun interface
@JvmStatic, @JvmOverloads, @JvmField for Java-friendly APIs
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: ivangdavila
- Version: 1.0.1
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-04T19:26:08.006Z
- Expires at: 2026-05-11T19:26:08.006Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/kotlin)
- [Send to Agent page](https://openagent3.xyz/skills/kotlin/agent)
- [JSON manifest](https://openagent3.xyz/skills/kotlin/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/kotlin/agent.md)
- [Download page](https://openagent3.xyz/downloads/kotlin)