Skip to main content

AI Context Hub — 个人 Markdown 上下文库

把文档、片段、一句话整理成有来源、可追溯、可局部修改、可回滚的个人知识库;提供查询、更新、删除、合并与冲突裁决。让 AI 助手(Claude Code / Codex / Cursor / 千问等)拥有可靠的长期记忆。

特性

  • 全本地零上传,隐私不出机器
  • 每条内容带来源溯源,矛盾可裁决
  • 查询/更新/删除/合并/回滚,改一段不伤全文
  • 纯 Python 零依赖,跨平台
  • 内置 239 项自动化测试的工程级品质

安装

pip install ai-context-hub

快速开始

# 初始化你的库(生成 00-99 域骨架与索引)
context-hub init --root 我的上下文库 --json

# 收录一段文字
context-hub-extra capture --root 我的上下文库 --text "你的内容" --title "标题" --json

# 查询
context-hub query --root 我的上下文库 --q "关键词" --json

配合 Agent Skill 使用:把包内 context_hub/skill/ 目录(含 SKILL.md)放入你的 Agent 技能目录(如 ~/.claude/skills/context-hub/)。

链接

许可

个人使用许可(见 LICENSE);商业授权联系作者。

Metadata

Release files for ai-context-hub 4.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for ai-context-hub 4.6.0
File Interpreter ABI Platform Actions
ai_context_hub-4.6.0-py3-none-any.whl Python 3 none any Details for ai_context_hub-4.6.0-py3-none-any.whl

Release files / ai_context_hub-4.6.0-py3-none-any.whl

Download URL ai_context_hub-4.6.0-py3-none-any.whl
Size 122.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
45e7374c30fecf54c230ebae08723a0034c25467e4523e985f55101ce5276a0e
BLAKE2b-256 checksum
How to use checksums
4d86c42ebac0cdfd088e2a21b218919b6e0f3a838b58090624da735432b65cbe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.15

Security for ai-context-hub 4.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

4.6.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page