Skip to content
TopicTracker
出典 HackerNews原文を表示
翻訳言語翻訳言語

Claude Codeセッション継続時のトークン無駄遣いを防止

Claude Codeの新しいセッションを開始するたびに、以前の会話コンテキストが失われ、同じ情報を再送信するために貴重なトークンを無駄に消費していませんか?Recall Pluginは、セッション間でコンテキストを保持し、継続的な会話履歴を維持することでトークンの無駄を削減し、開発ワークフローの効率を向上させます。

背景メモ

Claude Code は、Anthropic が提供する Claude モデルを用いたターミナル上の AI コーディングエージェント。セッションをまたぐたびに会話履歴(トークン)がリセットされ、毎回プロジェクトのコンテキストを再投入する必要がある。 - Recall Plugin は、この問題を解決するためのオープンソースの VS Code/Neovim 拡張。前回のセッションで使ったファイルや会話の要約を自動保存し、次回の起動時にコンテキストとして再挿入する。 - これにより、(1) コンテキスト再構築の手間と (2) 無駄なトークン消費を減らし、長期間の開発作業での Claude Code の利用効率を高める。「Claude Code の長期記憶的役割」を担うツールとして、AIアシスタントと反復的コーディングのワークフローに関心がある層から注目を集めている。

関連記事

  • Newer Claude models sometimes invent extra keys in tool call arguments, breaking validation in Pi's edit tool. The author suspects post-training for Claude Code's forgiving harness makes alternative schemas fail. This suggests closed RL training can degrade general tool-use reliability.

  • Simon Willison released llm-coding-agent 0.1a0, an experimental coding agent built on his LLM library. The agent provides tools for reading, editing, searching files and executing commands, and ships with a Python API and CLI. It was developed using Claude Code (Fable 5) via TDD with a spec-first approach, and is available as a slop-alpha on PyPI.

  • Truth Social remains an outlet primarily for Trump's own posts, while other administration officials continue using X. The platform functions as a blog-like channel for Trump's messages rather than a genuine social network competitor.