migrate-py

migrate-py is a skill for Claude Code, Cursor from plastic-labs/cursor-honcho. It costs 62 tokens per session (1,684 once invoked), scanned A, original, MIT.

A migration guide for updating Python code that uses the Honcho software development kit from version 1.6.0 to version 2.0.0. The guide covers renamed concepts, changed methods, and the new approach to asynchronous code.

In plain words
What is it for?
Use it when upgrading Honcho, fixing errors caused by the upgrade, or replacing removed asynchronous classes, old configuration methods, observations, streaming calls, and other changed APIs.
Why use it?
A library upgrade can break existing code when classes, method names, or return types change. This explains the required replacements.

Skill for Claude CodeCursor

Written for Claude Code and Cursor: user-invocable in frontmatter, but also shipped in a Cursor plugin.

Part of the honcho-dev plugin — 3 skills shipped together

Good fit Use it when upgrading Honcho, fixing errors caused by the upgrade, or replacing removed asynchronous classes, old configuration methods, observations, streaming calls, and other changed APIs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/plastic-labs/cursor-honcho/migrate-py
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 plastic-labs/cursor-honcho --skill migrate-py
Clone the repo
git clone --depth 1 https://github.com/plastic-labs/cursor-honcho

Made for: Claude Code, Cursor.

Or install honcho-dev, the plugin that ships this one along with the rest of its 3 skills.

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 migrate-py

README.md
[![agentmods](https://agentmods.dev/badge/skills/plastic-labs/cursor-honcho/migrate-py/github.svg)](https://agentmods.dev/skills/plastic-labs/cursor-honcho/migrate-py)
Your own site
<a href="https://agentmods.dev/skills/plastic-labs/cursor-honcho/migrate-py"><img src="https://agentmods.dev/badge/skills/plastic-labs/cursor-honcho/migrate-py/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 migrate-py

Your own site · 80×15
<a href="https://agentmods.dev/skills/plastic-labs/cursor-honcho/migrate-py"><img src="https://agentmods.dev/badge/skills/plastic-labs/cursor-honcho/migrate-py.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,684 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.00062 $0.01684
Opus 5.5 $0.00025 $0.00674
Sonnet 5.5 $0.00012 $0.00337
Haiku 4.5 $0.00006 $0.00168

Measured 2mo ago against content hash 380d3e474960, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

migrate-py 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 2mo ago.

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.

plugins/honcho-dev/skills/migrate-py/SKILL.md · 280 lines

How it starts

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

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

# 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

# Before
from honcho import Observation, ObservationScope, AsyncObservationScope

scope = peer.observations
scope = peer.observations_of("other-peer")
rep = scope.get_representation()

# After
from honcho import Conclusion, ConclusionScope, ConclusionScopeAio

scope = peer.conclusions
scope = peer.conclusions_of("other-peer")
rep = scope.representation()  # Returns str

3. Update representation handling

# Before
from honcho import Representation, ExplicitObservation, DeductiveObservation

rep: Representation = peer.working_rep()
print(rep.explicit)
print(rep.deductive)
if rep.is_empty():
    print("No observations")

# After
rep: str = peer.representation()
print(rep)  # Just a string now
if not rep:
    print("No conclusions")

4. Rename configuration methods

# Before
config = peer.get_config()
peer.set_config({"observe_me": False})
session.get_config()
client.get_config()

# After
from honcho.api_types import PeerConfig, SessionConfiguration, WorkspaceConfiguration

config = peer.get_configuration()
peer.set_configuration(PeerConfig(observe_me=False))
session.get_configuration()
client.get_configuration()

Read the full file on GitHub · 280 lines

Files

What ships with it

2 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. 2mo ago First seen · 280 lines · 62 tokens per session scan A 380d3e474960

Subscribe to this mod's changes

migrate-py is a skill published in the GitHub repository plastic-labs/cursor-honcho (7 stars, last pushed 22d ago), licensed MIT. It adds 62 tokens to every session and 1,684 once invoked, about $0.0002 per session on Opus 5.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

migrate-py compared with skills from other repositories

migrate-py next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
migrate-pyplastic-labs/cursor-honchoSkill722d agoMITA62Claude Code, Cursor
matlabK-Dense-AI/scientific-agent-skillsSkill57k2d agoMITA44Claude Code
pennylaneK-Dense-AI/scientific-agent-skillsSkill57k2d agoMITA74Claude Code
holoscan-install-wheelNVIDIA/skillsSkill3.9ktodayApache-2.0A34Claude Code, Codex
python-engineering-guidelinesanywhere-labs/Agents-AnywhereSkill3.3ktodayApache-2.0A75Codex
future-self-liteTHU-MAIC/OpenMAICSkill43kyesterdayMITA20Claude Code, Codex
rocm-kernelshuggingface/kernelsSkill787yesterdayApache-2.0A93Claude Code