publish
Skill6.8k starsChanged 58 days agoMITView on GitHub
Publish the Octop Python package: cut a release branch from develop, bump version, update CHANGELOG, open a PR to main; after merge, Actions tag on main (PyPI / Docker Hub + GHCR) and sync main into develop. Use when the user asks to publish, release, bump version, cut a release, or run /publish.
- Commits and pushes
31 other projects use a version of this, 2 of them edited.
Trending
Quiet since October.about the whole repository
Most recently taken up by
- shazhou-ww/silvermoontheir own version, first seen Oct 5, 2026
- pche-broken-artist/forge-of-thoughttheir own version, first seen Oct 4, 2026
- varunmoka7/resume-hypergraphtheir own version, first seen Oct 2, 2026
- oderajoseph95/Claude-Intercom-HelpCenter-Article-Writertheir own version, first seen Sep 28, 2026
- TencentCloud/octop-browseredited, first seen Sep 24, 2026
- TencentCloud/octop-memoryedited, first seen Sep 24, 2026
Who's talking about TencentCloud/Octop
- @github-trending.bsky.social“🚀 Skyrocketing! 🚀 (200+ new stars) 📦 TencentCloud / Octop ⭐ 3,215 (+396) 🗒 Python A smarter, …”Bluesky · Sep 17, 2026 · 4 likes
- @yug1224.com“マルチユーザーと複数エージェントに対応したセルフホスト型のAIアシスタントツールらしい チームや個人でのタスク効率化にすごく使えそうかも yug1224 starred TencentCloud/Octop…”Bluesky · Sep 20, 2026 · 2 likes
- @dailygithubtrends.bsky.social“今日のGitHubトレンド TencentCloud/Octop Octopは、プライバシーを重視してローカル環境で動作するオープンソースのマルチユーザー・マルチエージェントAIアシスタントです。…”Bluesky · Sep 18, 2026 · 1 likes
- helloimcx/agentdock“[Inspiration] Agent preset roster: browsable gallery + one-click install of community agent definitions …”GitHub · Oct 5, 2026
- FATESAIKOU/LearnGhAgent“[P01-general-tech] 調研Octop”GitHub · Oct 5, 2026
The biggest 5 of 22 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 22
Talked about on GitHub and Bluesky (22 times).
On GitHub · 19
- Oct 5, 2026[Inspiration] Agent preset roster: browsable gallery + one-click install of community agent definitions (lac agent add owner/repo) — helloimcx/agentdock0 reactions
- Oct 5, 2026[P01-general-tech] 調研Octop — FATESAIKOU/LearnGhAgent0 reactions · 5 comments
- Oct 5, 2026調研Octop — FATESAIKOU/LearnGhAgent0 reactions
- Oct 5, 2026Source admission amendment: Octop donor + Kronos for Olax Finance — TheHalfMoon/Olax0 reactions
- Oct 4, 2026[Inspiration] Agent teams: persistent role-based team topology with lead-agent delegation and cross-agent task handoff — helloimcx/agentdock0 reactions · 1 comment
14 more on GitHub
- Oct 3, 2026feat(pii): detect mainland mobile numbers and resident IDs — TencentCloud/octop-harness0 reactions
- Oct 3, 2026feat: convert explicit virtual paths for subtree experts — TencentCloud/octop-harness0 reactions
- Oct 3, 2026fix: surface model and path failures to the agent instead of aborting — TencentCloud/octop-harness0 reactions
- Oct 3, 2026epic(agent-platform): adopt Octop-inspired durable multi-agent control patterns without duplicating Hermes — ahliweb/omes0 reactions · 2 comments
- Sep 30, 2026feat: convert explicit virtual paths for subtree experts — TencentCloud/octop-harness0 reactions · 2 comments
- Sep 30, 2026feat(pii): add mainland mobile number and resident ID detection — TencentCloud/octop-harness0 reactions · 1 comment
- Sep 29, 2026backlog: 2026-09-29分の候補4件を追記 — Matsushima-A-830/ai-100days0 reactions
- Sep 29, 2026fix(protocols): handle streamed content blocks (thinking/text) in chunk projection — TencentCloud/octop-harness0 reactions
- Sep 29, 2026[bug] Anthropic/OpenAI-Responses 流式 content blocks 导致 agent.stream 崩溃:TypeError: can only concatenate str (not "list") to str — TencentCloud/octop-harness0 reactions
- Sep 28, 2026[Inspiration] Inbound ACP server mode: expose Local AI Core managed agents to IDEs and external ACP clients — helloimcx/agentdock0 reactions
- Sep 23, 2026[P1][CLAW][OSS-REF] TencentCloud/Octop architecture reference audit — skerishKang/ai-revenue-lab0 reactions · 1 comment
- Sep 23, 2026[Feature] Support Tencent Cloud Octo for AI Agents — 1Panel-dev/1Panel0 reactions · 1 comment
- Sep 19, 2026Github trending [TencentCloud/Octop] 自托管多智能体AI助手 — web1992/github-trending0 reactions
- Aug 25, 2026feat: 新增跨会话作者记忆 — zenstory-ai/oh-story-claudecode0 reactions
On Bluesky · 3
- Sep 17, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 TencentCloud / Octop ⭐ 3,215 (+396) 🗒 Python A smarter, self-hosted AI assistant — multi-user,… — @github-trending.bsky.social4 likes and reposts · 1 reply
- Sep 20, 2026マルチユーザーと複数エージェントに対応したセルフホスト型のAIアシスタントツールらしい チームや個人でのタスク効率化にすごく使えそうかも yug1224 starred TencentCloud/Octop… — @yug1224.com2 likes and reposts
- Sep 18, 2026今日のGitHubトレンド TencentCloud/Octop Octopは、プライバシーを重視してローカル環境で動作するオープンソースのマルチユーザー・マルチエージェントAIアシスタントです。… — @dailygithubtrends.bsky.social1 likes and repost
Used with
Projects with it also use ingest and setup.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.Other versions31 projects use a version of this.
Word for word · 0
None found.
Edited · 2
- TencentCloud/octop-memory★ 2671% same
- TencentCloud/octop-browser★ 2271% same
Wrote their own version · 29
- code-yeongyu/oh-my-openagent★ 70ksame name
- Q00/ouroboros★ 6.2ksame name
- agent-tower/core★ 396same name
- tomaspavlin/rohlik-mcp★ 121same name
- timkoda/koda-stack★ 114same name
- skilluse/skilluse★ 55same name
- myclaude-sh/myclaude-creator-engine★ 25same name
- eric-cielo/moflo★ 18same name
- K-dash/typemux-cc★ 16same name
- cgaspard/lmstudio-vscode-chat★ 9same name
19 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repositoryOne other file it gives its agents.
- AGENTS.mdAGENTS.md
The file
Files
Publish
自动化 Octop Python 包的完整发布流程。
开始时宣告: "正在使用 publish 技能发布版本 {VERSION}。"
配置项
以下配置有默认值,可在项目的 .cursor/skills/publish/SKILL.md 中覆盖。
| 配置项 | 默认值 | 说明 |
CHANGELOG_FILE | CHANGELOG.md | 相对于仓库根目录的路径,文件不存在则跳过 |
VERSION_FILE | pyproject.toml | 包含版本号的文件 |
VERSION_PATTERN | ^\s*version\s*=\s*"[^"]+" | 匹配版本行的正则表达式 |
README_GLOB | README*.md | 含 shields.io 版本徽标的 README(含多语言变体,如 README.md、README_CN.md);全部同步升级 |
INIT_VERSION_FILE | src/octop/__init__.py | 含运行时常量 __version__ 的文件(缺失则跳过并提示) |
TAG_PREFIX | v | Git tag 前缀;工作流监听 v*,生成 v0.1.14 风格标签 |
REMOTE | origin | Git 远程仓库名 |
INTEGRATION_BRANCH | develop | 日常集成分支;release 必须从最新 tip 切出 |
TARGET_BRANCH | main | 合并请求的目标分支(生产真源) |
RELEASE_BRANCH_PREFIX | release/ | release 分支名前缀 |
调用方式
/publish 0.1.14目标版本号是唯一必填参数,其余均从配置或自动检测获取。
发布流程
顺序硬约束: 先 PR 合入
main,再在 main tip 打并推送v*tag。
禁止在 release 分支未合入main前推送生产 tag。
步骤 1 — 读取配置并确认版本
- 获取仓库根目录:
git rev-parse --show-toplevel - 记录当前分支为
{original_branch}。 git fetch {REMOTE} {INTEGRATION_BRANCH} {TARGET_BRANCH}- 从
VERSION_FILE读取当前版本(在即将基于的 integration tip 上):git show {REMOTE}/{INTEGRATION_BRANCH}:pyproject.toml | grep -E '^\s*version\s*=\s*"[^"]+"' - 检查未提交的更改:
若工作树不干净:中止并要求用户先提交或 stash。发布不得夹带无关脏文件。git status --short - 查找最近的 git tag:
如果没有 tag,视为首次发布(在步骤 3 中使用从仓库初始到 HEAD 的所有提交)。git tag --sort=-creatordate | head -1 - 展示确认信息:
当前版本 (pyproject.toml @ develop): X.Y.Z
目标版本: A.B.C
上次发布 tag: vX.Y.Z (YYYY-MM-DD)
Release 分支: release/A.B.C
集成起点: develop
合入目标: main
Tag 时机: main 合并之后(不会在 release 上先打 tag)
确认发布 X.Y.Z → A.B.C?[y/N]如果用户未输入 y 确认,立即中止。
步骤 2 — 从 develop 创建 release 分支
git checkout -B {RELEASE_BRANCH_PREFIX}{version} {REMOTE}/{INTEGRATION_BRANCH}如果本地或远程已存在同名 release 分支,中止:
✗ 分支 {RELEASE_BRANCH_PREFIX}{version} 已存在。
请手动删除后再运行 /publish。步骤 3 — 分析变更并生成 CHANGELOG 草稿
- 获取上次 tag 以来的提交(相对当前 release HEAD,即 develop tip):
git log {last_tag}..HEAD --oneline # 首次发布时: git log --oneline - 如果没有找到提交:
用户未确认则中止。⚠ 自上次发布 tag ({last_tag}) 以来没有新提交。 是否继续?[y/N] 按提交前缀分类,生成 Keep a Changelog 格式的条目。
CHANGELOG 内容必须用中文书写。 将每个提交总结为简洁的中文要点 — 不要逐字翻译提交信息。适当合并相关提交。
分类规则:
- 以
feat:或feat(开头 → 新增 - 以
fix:或fix(开头 → 修复 - 以
refactor:或perf:开头 → 变更 - 包含
!:或提交正文含BREAKING CHANGE:→ 变更,加**Breaking:**前缀 - 以
docs:开头 → 变更 - 以
chore:、test:、ci:开头 → 忽略(基础设施噪音) - 其他所有提交 → 变更
- 移除的功能 → 移除
- 安全修复 → 安全
输出格式:
## [A.B.C] - YYYY-MM-DD ### 新增 - 中文描述新增功能 ### 修复 - 中文描述修复内容 ### 变更 - 中文描述行为变更 ### 移除 - 中文描述移除内容 ### 安全 - 中文描述安全修复省略空的分类。日期使用 ISO 8601 格式(当天日期)。日期行与第一个分类之间、各分类之间保留空行。
- 以
- 向用户展示草稿并请求确认:
CHANGELOG 草稿: {draft} 添加到 CHANGELOG.md?[y/N/edit]y→ 继续n→ 中止edit或其他反馈 → 询问用户:"需要什么修改?" — 等待回复后重新生成,再次展示确认。循环直到y或n。
- 如果
CHANGELOG_FILE不存在,跳过此步骤(无需警告)。
步骤 4 — 更新文件、提交并推送 release 分支
按顺序执行:
4a. 更新 CHANGELOG:
在 CHANGELOG_FILE 中找到 ## [Unreleased] 标题,在其后插入新版本条目(保持 [Unreleased] 为空):
## [Unreleased]
## [A.B.C] - YYYY-MM-DD
### 新增
- ...如果 ## [Unreleased] 标题不存在,在 # Changelog 标题行之后插入新条目(若无标题则插入到文件顶部)。
4b. 升级版本号(同步所有版本来源):
发布版本号必须保持多文件一致。依次升级以下位置:
VERSION_FILE(pyproject.toml)— wheel / PyPI 的唯一版本源:grep -n '^\s*version\s*=\s*"[^"]+"' pyproject.toml # 用 Edit 工具将该行的 "X.Y.Z" 替换为 "A.B.C"- 所有匹配
README_GLOB且含 shields.io 版本徽标的 README(含多语言):
当前仓库至少包括# 发现需升级的文件(勿只改英文 README.md) grep -l 'shields.io/badge/version-' README.md README_*.md 2>/dev/null # 对每一个命中文件: grep -n 'shields.io/badge/version-' {file} # 用 Edit 工具将 `version-X.Y.Z-orange` 替换为 `version-A.B.C-orange`README.md与README_CN.md;若某语言文件无徽标则跳过该文件。 全部未命中则提示并继续(不中止)。 INIT_VERSION_FILE(src/octop/__init__.py)— 运行时常量__version__:
文件不存在则跳过并提示(不中止)。grep -n '__version__' src/octop/__init__.py # 用 Edit 工具将 `__version__ = "X.Y.Z"` 替换为 `"A.B.C"`- 飞牛 FnOS 两个 manifest 的
version=字段(与pyproject.toml保持一致;scripts/build-fpk.sh打包时也会再注入一次,但仓库源文件必须先改,避免商店展示/手工校验看到旧号):
两个文件都必须改。缺文件则提示并继续(不中止)。grep -n '^version=' fnos/docker/manifest fnos/native/manifest # 用 Edit 工具将两处 `version=X.Y.Z` 替换为 `version=A.B.C`
4c. 提交:
git status --short- 如果有更改:暂存并提交:
git add -A git commit -m "chore: release {version}" - 如果工作树已干净:无需提交,跳过。
4d. 推送 release 分支:
git push -u {REMOTE} {RELEASE_BRANCH_PREFIX}{version}推送失败则中止。
步骤 5 — 创建合入 main 的 Pull Request(先合,后自动 tag)
使用 gh CLI:
gh pr create \
--base {TARGET_BRANCH} \
--head {RELEASE_BRANCH_PREFIX}{version} \
--title "chore: release {version}" \
--body "$(cat <<'EOF'
{步骤 3 生成的 CHANGELOG 条目}
## Release checklist
- [ ] CI green
- [ ] Merge this PR into main
- [ ] After merge, GitHub Action auto-pushes v{version} tag on main tip
EOF
)"- 成功时展示 PR URL,并明确告知:
- 合并前不要手动打 tag;
- 合并后会自动发版(自动打 tag)。
- 若
gh失败:中止(此时尚未发版),提示手动创建 PR:{RELEASE_BRANCH_PREFIX}{version}→{TARGET_BRANCH}
步骤 6 — 等待合入后,由 Action 在 main tip 打 tag
- 询问用户 PR 是否已合并,或轮询:
未合并则等待;无需本地执行打 tag。gh pr view {pr_url} --json state,mergedAt - 合并后:
auto-tag-on-release.yml会读取合并后main的pyproject.toml版本并推送{TAG_PREFIX}{version}。- 若 tag 已存在,Action 会跳过并输出日志。
- 提示用户到 Actions 确认:
Auto Tag On Release Merge成功;Release与Docker Publish随v*tag 触发并通过;Sync Main Into Develop在 GitHub Release 发布后把main同步回develop。
步骤 7 — 删除 release 分支;develop 由 Action 同步
- 删除远程与本地 release 分支:
删除失败则警告(非致命),提示手动删除。git push {REMOTE} --delete {RELEASE_BRANCH_PREFIX}{version} git branch -D {RELEASE_BRANCH_PREFIX}{version} - develop 同步:GitHub Release 发布成功后,
sync-main-to-develop.yml会自动开main → developPR,并在无冲突时用 merge commit 合入。- 若已快进无差异,Action 会跳过。
- 若有冲突或分支保护拦截,Action 留下 PR 并告警,需人工处理。
- 技能侧无需再手动创建 sync PR(除非 Action 失败)。
步骤 8 — 切回原分支
git checkout {original_branch}确保流程结束后用户不会停留在 release / 临时检出上。
错误处理参考
| 场景 | 行为 |
VERSION_FILE 未找到 | 中止:"找不到 VERSION_FILE:{path}" |
| 文件中未匹配到版本号 | 中止:"在 {VERSION_FILE} 中找不到匹配 {VERSION_PATTERN} 的版本行" |
| 工作树不干净 | 中止:先清理再发布 |
| 没有 git tag(首次发布) | 使用完整历史;提示"首次发布" |
| 上次 tag 以来无提交 | 警告并询问是否继续 |
| Release 分支已存在 | 中止并给出删除指令 |
| 步骤 4 推送失败 | 中止:文件已在本地更新但未推送 |
| 步骤 5 PR 创建失败 | 中止(尚未打 tag / 未发版) |
| 步骤 6 在未合入时手动打 tag | 禁止 — 硬红线 |
| 步骤 6 tag 已存在 | 中止并给出删除指令 |
| 步骤 6 tag 推送成功但 Action 失败 | 非致命:提示到 Actions Re-run |
| 步骤 7 删分支或 sync PR 失败 | 警告并给出手动命令 |
红线规则
绝不:
- 在 release / feature 分支上、于合入
main之前推送生产v*tag - 在推送 tag 前直接上传 PyPI(发布由 GitHub Action 负责)
- 将
develop直接 push / merge 进main(必须走 PR) - 跳过步骤 1 的用户确认
- 跳过步骤 3 的 CHANGELOG 确认
- 在任何步骤失败后继续执行(步骤 7 的清理/同步警告除外)
- 流程结束后让用户留在 release 分支
- 保留已发完的
release/*作为长期分支
始终:
- 从最新
{REMOTE}/{INTEGRATION_BRANCH}切 release - 先合入
{TARGET_BRANCH},再由 Action 在 main tip 打 tag - 发版后删除
release/*;main → develop由sync-main-to-develop.yml自动同步(失败时再手动补) - 中止前展示完整错误输出
- 插入新版本条目后保持
[Unreleased]为空 - 同步升级所有含 shields.io 版本徽标的多语言 README(
README.md、README_CN.md等),勿只改英文 - 同步升级
fnos/docker/manifest与fnos/native/manifest的version=字段,勿只改pyproject.toml - 推送 tag 后提示用户关注 GitHub Actions 的发布结果
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

