Guide

Import Claude Code or Codex sessions into Kilo: billing checks

Move Claude Code or Codex history into Kilo CLI, check skipped content, and choose the next request's account, model and permissions separately.

By BringYourSubs5 min read

Kilo CLI can import Claude Code and Codex conversation history, but you should choose the next request's model account and billing route separately. Start an empty Kilo session with /new, then use /resume-claude or /resume-codex. Kilo documents skipped content in an import notice, so review that notice before treating the imported conversation as complete. See Kilo's CLI guide.

This is a history handoff, not evidence that credentials, approvals or subscription funding have transferred. The instructions below come from current maker documentation checked on 1 December 2026. We did not import private transcripts, sign in to a model provider or run a paid task. The Kilo Code listing and ChatGPT app hub provide broader discovery context.

How do you import a Claude Code or Codex session?

Kilo's session-import instructions describe this sequence:

  1. Open Kilo CLI in the relevant project directory.
  2. Start an empty session with /new. Import commands run only in an empty session.
  3. Run /resume-claude for Claude Code history or /resume-codex for Codex CLI history.
  4. Pick one of the 10 most recent sessions for the current directory, or provide the session UUID directly.
  5. Read the import notice before asking the new session to continue.

Kilo says it discovers Claude Code transcripts under ~/.claude/projects/ and Codex CLI rollouts under ~/.codex/sessions/. These are documented discovery locations, not a reason to copy your entire configuration home to another machine. We recommend reviewing the particular transcript's sensitivity and destination before moving any files.

The current CLI guide is for Kilo 1.0 and later. Verify your installed version with kilo --version and consult matching documentation if the import commands are missing. This article does not claim a launch date for the feature.

What history survives, and what needs checking?

Kilo says imported history retains its original order and ends with an import notice. It also says content it cannot represent, such as some tool outputs, is skipped and counted in that notice. That is a documented conversion boundary, not a guarantee that the destination knows everything the source session knew.

Use the following review table before continuing. The right column is our suggested check, rather than a list of automatic importer behavior.

Item What the documentation establishes What you should verify
Conversation order Imported history keeps its original order The last agreed task and unfinished work are still understandable
Unsupported content Some content is skipped and counted Read the notice; reopen authoritative files or results where needed
Project context Recent-session selection is scoped to the current directory The destination has the intended working tree and files
Provider setup Kilo has its own provider configuration The next model and account are the ones you intend to use
Tool authority Kilo has its own permission settings Review those settings before allowing edits or shell commands

Do not ask the model to reconstruct missing test results from conversational hints. Read the files or rerun only the checks you have authorized. If the source task already changed the repository, inspect the working tree before repeating any edit or publishing step.

Does the original subscription pay for the next request?

The import instructions document transcript conversion. They do not establish that the source session's payer becomes the destination session's payer. Kilo documents provider setup independently through /connect, configuration and authentication commands. Treat funding as a new preflight decision. See the CLI configuration reference.

For ChatGPT specifically, Kilo's subscription guide distinguishes signing into a Kilo account from authorizing a subscription for inference. It also separates its Gateway connection from the direct local OpenAI-provider route. Pick one deliberately; a familiar ChatGPT identity on a login screen is not enough to identify the model request's funding.

For the Gateway route, Kilo documents connecting OpenAI (ChatGPT subscription) in BYOK for the intended personal account or organization. It says supported models are marked BYOK in the picker, and that personal and organization contexts need separate connections. Review the connected account and choose an eligible model before continuing the imported work. Do not paste an API key into a different setup field simply because it is nearby.

For the local CLI route, Kilo documents kilo auth login --provider codex, with browser and headless ChatGPT sign-in methods, and a separate API-key option. Follow the provider's authorization flow yourself. Never put credentials in a transcript or handoff note. The Zed billing-route guide explains the same separation when an editor hosts an external agent.

When can a Kilo request still use paid routing?

Kilo's subscription documentation draws a specific distinction. An eligible Gateway request that reaches the ChatGPT usage limit stops with an error rather than retrying on Kilo credits or a saved API key. But unsupported model or API-type requests use normal Gateway billing, and some sign-in renewal failures can use a saved API key or Kilo credits instead.

Do not reduce those rules to a blanket promise that every request is subscription-only. Other services, including Cloud Agent compute, are separate from the model-inference allowance. These statements describe Kilo's documented Gateway behavior; do not assume the same error handling for every local provider or version.

For the direct local provider, Kilo documents a /usage view with quota and reset information. For Gateway subscription requests, it documents the openai-chatgpt provider filter in Kilo Usage. Use the view that matches your route. OpenAI's app-plan help also says an app can reach its own cap while the account still has usage remaining. Reconnecting does not refill that allowance.

Which permissions should you review before continuing?

Kilo documents allow, ask and deny permission actions, with provider, permission and MCP configuration in kilo.jsonc. Its CLI also has an auto-approve toggle. Review the active configuration before resuming a task that can write files, run commands or reach external services. See Kilo's permissions reference.

Our suggested handoff note contains the source session identifier, destination project, skipped-content count, intended provider and model, and the next permitted action. Keep credentials out of the note. Begin with a review of the current files and a proposed next step if you have not checked the new runtime's authority. This is a proposed acceptance process, not a claim that Kilo imported an old approval policy.

Instruction files need their own review too. The skills portability guide covers host-specific discovery and controls. If multiple runtimes will keep working in the repository, read the worktree conflict guide before running them concurrently.

What are the common questions?

Can I import into an ongoing Kilo conversation? Kilo says the import commands require an empty session. Start with /new.

Why is the old result missing? Kilo says some content cannot be represented and is skipped. Check the notice and return to the original evidence rather than inventing the missing output.

Does a Claude transcript establish Claude-plan support in Kilo? No. A history-import command is not authentication or entitlement evidence. Configure and verify the destination route independently.

Does buying Kilo credits fix a ChatGPT app cap? Kilo says an eligible Gateway request at the subscription limit stops. Check the relevant account and app limits rather than assuming a credit purchase fixes them.

Is this a tested migration recipe? It is a documentation-based procedure and review checklist. No real transcript import, account authorization or paid model request was performed for this article.

Questions people ask

How do I import a Claude Code session into Kilo CLI?
Start an empty session with /new, then run /resume-claude. Choose from recent sessions for the current directory or supply a session UUID. Kilo documents /resume-codex for Codex CLI history.
Does Kilo import every tool output?
No. Kilo says content it cannot represent, including some tool outputs, is skipped and counted in an import notice. Review that notice before continuing.
Does importing Claude Code history move my Claude subscription to Kilo?
The documented command imports a transcript. Configure the next request's provider and billing independently; the source conversation is not evidence of a transferred subscription entitlement.
Is signing into Kilo with ChatGPT enough to fund model requests?
Kilo separates account login from subscription authorization. Its Gateway route requires a subscription connection in the intended account context; its local provider has a separate sign-in path.
Was this workflow tested on a paid account?
No. These are documentation-based instructions and a proposed review checklist, not an observed import, paid request or billing receipt.

Sources

  1. Kilo Code CLI: AI Coding Agent in Your Terminal, Kilo, 2026-12-01
  2. Using ChatGPT subscriptions with Kilo Code, Kilo, 2026-12-01
  3. Using your ChatGPT plan in other apps and sites, OpenAI, 2026-12-01