subscription-setup

subscription-setup is a skill for Claude Code, Codex from TencentCloud/Octop. It costs 80 tokens per session (1,300 once invoked), scanned A, original, MIT.

A setup workflow for creating recurring medical-learning subscriptions after a doctor’s profile has been registered.

In plain words
What is it for?
Use it to enable selected recurring tasks, such as daily guideline study, professional updates every three days, or regional policy updates twice a week.
Why use it?
It checks for existing subscriptions first, so the same daily lesson, guideline update reminder, or regional insurance-policy lesson is not created twice.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/tencentcloud/octop/subscription-setup
Any agent
npx skills add TencentCloud/Octop --skill subscription-setup
Clone the repo
git clone --depth 1 https://github.com/TencentCloud/Octop

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for subscription-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/tencentcloud/octop/subscription-setup.svg)](https://agentmods.dev/skills/tencentcloud/octop/subscription-setup)
Your own site
<a href="https://agentmods.dev/skills/tencentcloud/octop/subscription-setup"><img src="https://agentmods.dev/badge/skills/tencentcloud/octop/subscription-setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,300 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00080 $0.01300
Opus 5 $0.00040 $0.00650
Sonnet 5 $0.00016 $0.00260
Haiku 4.5 $0.00008 $0.00130

Measured 4d ago against content hash 450d55f5a9b3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

subscription-setup scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

src/octop/infra/agents/experts/library/clinical-learning-subscription/skills/subscription-setup/SKILL.md · 62 lines

How it starts

The opening of the file, as written. The whole thing — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.

学习订阅任务创建

前置条件

  • 5 项登记已完成(称谓、地区、医院、科室、职称),clinical_profile.py register 返回 ok: true。
  • 未登记时先走 doctor-registration skill,不得跳过登记直接创建订阅。

可选任务

向用户列出可选任务,让其选择开启哪些(可全选或只选部分):

  1. 每日指南连续学习:每天 07:30,通用 cron + 弱投递防重规程(无通道回执)。
  2. 专业指南更新提醒:每 3 天一次,按科室、亚专业、职称深度和基层场景检索权威来源更新。
  3. 地区医保政策变化学习:每周二、周五 09:00,摘要登记地区的医保正式文件变化与本地确认提示。

用户回复"全部开启/都开启"→开启 1、2、3;只点名一个或多个→只开点名的;"暂不开启/先不推送"→只保留登记,不创建任务。

创建流程

  1. 查重:创建前先 cronjob_list(include_disabled=true) 检查已有任务,不得重复创建。
  2. 创建:对每个用户明确选择的任务调用 cronjob_create
    • 平台自动路由cronjob_create 自动绑定当前会话 session_key,并按该会话通道(微信/QQ/dashboard/CLI 等)投递。不要要求微信绑定、不要以"非微信会话"为由拒绝、不要反问用户是否在微信里
    • 直接创建,不需要 :weixin: 会话标识,不要求 allow_dashboard 之类的门禁。
  3. 核对:创建后调用 cronjob_list 核对,回执如实写"已启用,推送至当前会话通道"。
  4. 回执:按 ../../references/output-templates.md 的"登记启用回执"模板输出,列出已启用任务(注明推送至当前会话通道)和未启用任务。

任务排程参数(trigger / task_type / prompt)使用 ../../references/cron-presets.json 的预设:

  • 每日指南学习:cron:30 7 * * *task_type=agentfresh_thread=true,prompt 用弱投递防重模板(见下)。
  • 专业指南更新提醒:cron:0 9 */3 * *task_type=agent
  • 地区医保政策变化学习:cron:0 9 * * 2,5task_type=agent

每日指南学习弱投递防重规程

每日指南学习的 cron prompt 必须使用 ../../references/cron-presets.json 中"每日指南连续学习"预设的弱投递防重模板,严格按顺序:

  1. delivery-check 按逻辑日期查重——已记录则当天停发;
  2. learning-next-lesson 读取下一固定单元——无已启用轨道或无下一单元时如实说明并停止,不得编造内容;
  3. ../../references/daily-learning-template.md 生成单元(3 个编号要点 + 来源行):非最后单元预告下一固定单元;最后单元给出 2-3 个已核验的正式指南候选并等待用户确认。综述与研究论文不得作为最终来源或下一阶段候选。用 ../../scripts/validate_output.py --module daily_guideline_learning 校验;
  4. 校验通过后 delivery-record 记账,再输出正文。

该账本只防重复、不代表送达回执——不得对用户宣称"已确认送达"。在用户选定权威指南轨道前,cron 运行会如实报告"暂无已启用轨道"并停止,不随机推送。等具备通道回执的平台适配器上线后,每日指南学习应迁移到强回执投递。

最后单元的候选只用于让用户选择,不得自动创建或启用下一条轨道。用户确认候选后,仍按指南核验、章节计划展示、明确确认和轨道创建的既有流程执行;没有足够的可核验正式指南时询问方向,不用综述补位。

禁止项

  • 未被用户明确选择的任务不得调用 cronjob_create,回执中不得写已启用。
  • 不得调用 cronjob_runcronjob_trigger 或任何手动执行能力进行"首推"。
  • 创建订阅不得顺带手动首推或推进学习状态(不得调用 guideline-advance)。
  • 工具不可用或创建失败时,不得宣称任务已启用;如实说明失败原因并保留登记档案,不要以"未绑定微信通道"作为回执
  • 不得宣称弱投递已"确认送达"。

Read the full file on GitHub · 62 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 62 lines · 80 tokens per session scan A 450d55f5a9b3

Subscribe to this mod's changes

subscription-setup is a skill published in the GitHub repository TencentCloud/Octop (1,292 stars, last pushed 4d ago), licensed MIT. It adds 80 tokens to every session and 1,300 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

explain-for

Explain a topic, a piece of code, an error, or a design decision calibrated to one named audience — a 5-year-old, a 5th grader, a manager, a designer, a graduate student, a parent. Resolves who the explanation is for (from the request, or from what memory already records about that person), establishes the ground…

kirodotdev/KiroCrew · 102 tokens

learn

Use this skill when the user wants intellectual understanding — learning how or why something works, not getting a task done or soliciting Claude's judgment. Trigger for: Explicit learning requests: teach, explain, ELI5, walk me through, quiz me, flashcards, "I'm rusty on"; definitions ("what is X") Terse concept…

UnicomAI/wanwu · 219 tokens

distill-session-knowledge

Offline-mine this project's pi session JSONL logs into reusable, verified knowledge: extracts faults, decisions, corrections, procedures and docs, promotes only recurring patterns, and routes artifacts into skillmanage, memory and docs. Use on "mine my sessions", "distill session knowledge", "extract lessons from…

BlackBeltTechnology/pi-agent-dashboard · 78 tokens

educational-animation-production

Provider-independent production workflow for AI agents creating educational animated lessons, classroom explainers, STEM visualizations, history/social-science animations, training modules, microlearning clips, whiteboard-style explainers, diagram-driven videos, and generated or assembled instructional animation…

calesthio/generative-media-skills · 82 tokens

code-walkthrough

与用户共同阅读 Neeko 代码,逐层讲解 Tauri 应用架构与跨端数据流。支持三域分层模式(Rust 后端 / React 前端 / 跨端桥接)和调用链追踪模式(含跨端追踪)。主动发现 dead code、设计偏差、类型不一致、迁移遗漏,但不修改代码。Use when user wants to walkthrough code, understand architecture, trace call chains, review a module's structure, or says "过代码" / "walkthrough" / "walk me through" / "zoom out".

tincopper/neeko · 128 tokens

video-tutorial-maker

Create scripted tutorial videos with narration, TTS, aligned subtitles, MP4 rendering, and platform variants. Use when Codex needs to create or revise tutorial, explainer, product walkthrough, course, demo, or short-form videos; generate 16:9 landscape output by default unless the user explicitly asks for 9:16, 1:1…

guanyang/super-publisher · 81 tokens