Home / plastic-labs / claude-honcho · plugins/honcho-dev/skills/migrate-py/SKILL.md · GitHub

migrate-py skillB

migrate-py is agent-read markdown (skill) from plastic-labs/claude-honcho: Migrates Honcho Python SDK code from v1.6.0 to v2.0.0. Use when upgrading honcho package, fixing breaking changes after upgrade, or when errors mention AsyncHoncho, observations, Representation class, .core property, or get_config methods..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# Honcho Python SDK Migration (v1.6.0 → v2.0.0)

## Overview

This skill migrates code from `honcho` Python SDK v1.6.0 to v2.0.0 (required for Honcho 3.0.0+).

**Key breaking changes:**

- `AsyncHoncho`/`AsyncPeer`/`AsyncSession` removed → use `.aio` accessor
- "Observation" → "Conclusion" terminology
- `Representation` class removed (returns `str` now)
- `get_config`/`set_config` → `get_configuration`/`set_configuration`
- Streaming via `chat_stream()` instead of `chat(stream=True)`
- `poll_deriver_status()` removed
- `.core` property removed

## Quick Migration

### 1. Update async architecture

```python
# Before
from honcho import AsyncHoncho, AsyncPeer, AsyncSession

async_client = AsyncHoncho()
peer = await async_client.peer("user-123")
response = await peer.chat("query")

# After
from honcho import Honcho

client = Honcho()
peer = await client.aio.peer("user-123")
response = await peer.aio.chat("query")

# Async iteration
async for p in client.aio.peers():
    print(p.id)
```

### 2. Replace observations with conclusions

```python
# Before
from honcho import Observation, ObservationScope, AsyncObservationScope

scope = peer.observations
…

Read the whole file at its exact version.

How to install

Latest version
mdr add plastic-labs/claude-honcho/migrate-py@git:20260220.80202bf
Exact content
mdr add plastic-labs/claude-honcho/migrate-py@sha256:4fe8c15395267cfe

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_oarurval6vqjzt33.svg)](https://markdownregistry.com/a/art_oarurval6vqjzt33)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260220.80202bf latest2026-02-20 80202bf 6,612 BB view · diff
git:20260203.ab2f56f2026-02-03 ab2f56f 6,611 BB view

Audit of the latest version

B  16 of 17 checks passed. Deterministic, no model, same answer every run.
  • fail: Frontmatter declares a name
  • pass: Frontmatter block present
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (6612 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

plastic-labs/claude-honcho · 63 stars · license MIT · pushed 2026-09-23 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_oarurval6vqjzt33
GET https://markdownregistry.com/api/v1/resolve?ref=plastic-labs/claude-honcho/migrate-py
GET https://markdownregistry.com/api/v1/blob/4fe8c15395267cfe93714b0e6f704520748c5487eeeb84038356695c479c97fc

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from plastic-labs/claude-honcho

integrate skill
plastic-labs/claude-honcho · plugins/honcho-dev/skills/integrate/SKILL.md · Integrate Honcho memory and social cognition into existing Python or TypeScript codebases. Use when adding Honcho SDK…
git:20260220.80202bf · audit B · 63 stars
migrate-ts skill
plastic-labs/claude-honcho · plugins/honcho-dev/skills/migrate-ts/SKILL.md · Migrates Honcho TypeScript SDK code from v1.6.0 to v2.0.0. Use when upgrading @honcho-ai/sdk, fixing breaking changes…
git:20260220.80202bf · audit B · 63 stars
briefing skill
plastic-labs/claude-honcho · plugins/honcho/skills/briefing/SKILL.md · Load the Honcho session briefing (session summary + peer card) via a visible tool call
git:20260731.ca132f4 · audit B · 63 stars
config skill
plastic-labs/claude-honcho · plugins/honcho/skills/config/SKILL.md · Configure Honcho memory plugin settings interactively
git:20260729.073a26f · audit B · 63 stars
import skill
plastic-labs/claude-honcho · plugins/honcho/skills/import/SKILL.md · Import past local Claude Code sessions into Honcho memory (backfill history)
git:20260723.eeaf5dd · audit B · 63 stars
insights skill
plastic-labs/claude-honcho · plugins/honcho/skills/insights/SKILL.md · Distill accumulated Honcho memory into concrete Claude Code config updates — CLAUDE.md edits, output-style rules, and…
git:20260731.9e53e74 · audit B · 63 stars
interview skill
plastic-labs/claude-honcho · plugins/honcho/skills/interview/SKILL.md · Interview the user to capture stable, cross-project preferences and save them to Honcho
git:20260203.ab2f56f · audit B · 63 stars
setup skill
plastic-labs/claude-honcho · plugins/honcho/skills/setup/SKILL.md · First-time Honcho configuration -- set API key, validate connection, create config
git:20260723.eeaf5dd · audit B · 63 stars
status skill
plastic-labs/claude-honcho · plugins/honcho/skills/status/SKILL.md · Show current Honcho memory status and configuration
git:20260302.15579b2 · audit B · 63 stars

Every file in plastic-labs/claude-honcho

Browse by kind, by grade B, or by owner.