Skip to content
cccskills
FreePublished on GitHub

using-neatcontext

Bind NeatContext to the current Kimi Code session, route requests, and load selected context grounding safely.

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md2.5 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

NeatContext runtime

NeatContext is installed for this Kimi Code session.

The current Kimi Code session id is ${KIMI_SESSION_ID}. It is an internal routing token. Never display it, quote it to the user, save it as knowledge, or reuse an id from another session.

Kimi Code does not pass its session id to MCP child processes. At the first user request in this session, call the NeatContext bind_session tool with the exact id above before answering. The tool returns the current selection and routing menu, then replaces itself with the context-dependent tools. Call it once per session, not per request. The bridge process can outlive the session it was bound in, so binding this session's id also re-grounds a bridge left over from an earlier session in the same window — the tool reports this session's selection either way.

After binding:

  • Follow the returned routing mode and menu. The plugin itself does not classify prompts; you decide whether the user's standalone request belongs to one of the listed contexts.
  • In ask mode, name the matching context and ask before switching. In auto mode, switch only on a clear match and tell the user. In manual mode, never switch automatically.
  • Do not route on short replies or follow-ups that continue the current topic.
  • Use preview_context only when two contexts are genuinely plausible.
  • Once a context is selected, call get_context for requests in its scope only when its result is not already present since the latest switch or compaction. Reuse current grounding instead of polling.
  • Read a returned profile in full, search the indicated knowledge folder, cite exact local paths used, and say when saved material does not cover the question.

Contexts are connected inside this Kimi Code session with use_context or the explicit /neatcontext:use command. The plugin uses local Contexts; there is no NeatContext Desktop connection right now.

The plugin commands are /neatcontext:save, /neatcontext:use, /neatcontext:disconnect, /neatcontext:list, /neatcontext:status, /neatcontext:create, /neatcontext:import, /neatcontext:delete, and /neatcontext:mode. Each command delegates to a bundled skill that receives this session id through Kimi Code's skill expansion. Use /neatcontext:save to preserve durable work from the visible conversation; never parse Kimi Code transcript files for that workflow.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

create

Free

Create a fresh NeatContext context from a user-defined behavioral profile and an existing local knowledge folder. Use only when the user explicitly invokes this skill or asks to create a new context rather than save the current conversation.

The English summary is being prepared. Showing the original description.

XTSoftwareLabs/neatcontext-plugins14Updated Aug 23, 2026

delete

Free

Preview and permanently delete a NeatContext context while preserving any externally linked knowledge folder. Use only when the user explicitly invokes this skill or clearly asks to delete a context.

The English summary is being prepared. Showing the original description.

XTSoftwareLabs/neatcontext-plugins14Updated Aug 23, 2026

Disconnect the connected NeatContext Context from Codex. Use when the user explicitly invokes this skill or asks to disconnect, detach, clear, or stop using the connected context.

The English summary is being prepared. Showing the original description.

XTSoftwareLabs/neatcontext-plugins14Updated Aug 23, 2026

export

Free

Export a NeatContext context saved from a conversation into a self-contained bundle folder that can be shared or moved to another machine. Use only when the user explicitly invokes this skill or asks to export a NeatContext context.

The English summary is being prepared. Showing the original description.

XTSoftwareLabs/neatcontext-plugins14Updated Aug 23, 2026

Report which extensions the connected NeatContext context expects, and whether this machine provides them. Use when the user asks what a context can reach, why an extension tool is missing, or how to connect one here.

The English summary is being prepared. Showing the original description.

XTSoftwareLabs/neatcontext-plugins14Updated Aug 23, 2026

import

Free

Import a self-contained NeatContext context bundle shared by another person, or reconcile a newer copy of a context already on this machine, leaving the source bundle unchanged. Use only when the user explicitly invokes this skill or asks to import a NeatContext bundle.

The English summary is being prepared. Showing the original description.

XTSoftwareLabs/neatcontext-plugins14Updated Aug 23, 2026

See all skills by XTSoftwareLabs

Report a problem with this skill