Create and use brand.yml files for consistent branding across Shiny apps and Quarto documents. Use when working with brand styling, colors, fonts, logos, or corporate identity in Shiny or Quarto projects. Covers: (1) Creating new _brand.yml files from brand guidelines, (2) Applying brand.yml to Shiny for R apps with bslib, (3) Applying brand.yml to Shiny for Python apps with ui.Theme, (4) Using brand.yml in Quarto documents, presentations, dashboards, and PDFs, (5) Modifying existing brand.yml files, (6) Troubleshooting brand integration issues. Includes complete specifications and framework-specific integration guides.
Review Python code for bugs, security issues, and best practices
- 📁 scripts/
- 📄 pyproject.toml
- 📄 SKILL.md
使用 Python + UV 读写哔哩哔哩(B 站)数据的技能,依赖 bilibili-api-python + aiohttp, 通过 browser_use get_cookies 自动获取 Cookie 完成认证,无需手动复制。 支持视频详情/字幕/AI总结/评论、用户主页、搜索、热门/排行榜、关注动态 Feed、 收藏夹、稍后再看、观看历史、互动操作(点赞/投币/三连)、动态发布与删除等。 当用户提到"B站"、"哔哩哔哩"、"bilibili"、"B站视频"、"B站热门"、"bilibili-hub"、 "获取B站数据"、"B站字幕"、"B站评论"、"B站收藏"、"B站动态", 或任何需要以编程方式读写 B 站内容的场景,必须触发本技能。 --- # bilibili-hub > **改造来源**:[jackwener/bilibili-cli](https://github.com/jackwener/bilibili-cli)(Apache-2.0) > > 本技能在原仓库基础上做了以下简化与改造: > - 移除 `browser-cookie3` / `click` / `rich` / `PyYAML` / `qrcode` 依赖 > - Cookie 认证改为直接传入 `dict` 或从环境变量读取,不做浏览器自动提取 > - 移除 CLI 层(commands/)、QR 登录、formatter 等 > - 保留全部 API 方法,统一封装为同步接口(`asyncio.run`) > - 核心依赖 `bilibili-api-python`(逆向工程 B 站 API 的第三方 SDK) > - 在 Minis 环境中,Cookie 通过 `browser_use get_cookies` 自动获取 --- ## 文件结构 ``` /var/minis/skills/bilibili-hub/ ├── SKILL.md ├── pyproject.toml # bilibili-api-python + aiohttp └── scripts/ ├── __init__.py ├── exceptions.py # 6 种结构化异常 ├── payloads.py # 数据结构规范化(normalize_* 函数) └── client.py # BiliClient 核心类(全部 API 方法) ``` --- ## 认证方式 B 站 Web API 使用三个关键 Cookie: | Cookie | 说明 | |--------|------| | `SESSDATA` | 用户 Session(必填,读操作) | | `bili_jct` | CSRF Token(写操作必填:点赞/投币/发动态等) | | `DedeUserID` | 用户 ID(建议填写) | | `buvid3` | 设备 ID(建议填写,降低风控概率) | ### 方法一:browser_use 自动获取(Minis 环境首选) 1. `browser_use navigate` 打开 `https://www.bilibili.com`,确认已登录 2. `browser_use get_cookies` 获取 Cookie(原始值不出现在对话中) 3. 加载 offload env 文件: ```bash . /var/minis/offloads/env_cookies_www_bilibili_com_xxx.sh export BILI_SESSDATA="$COOKIE_SESSDATA" export BILI_JCT="$COOKIE_BILI_JCT" export BILI_USERID="$COOKIE_DEDEUSERID" export BILI_BUVID3="$COOKIE_BUVID3" ``` > **注意**:`get_cookies` 仅对当前页面域名生效,需先 navigate 到 `https://www.bilibili.com` 再调用。 ### 方法二:手动从浏览器 DevTools 获取 1. 登录 B 站,打开 DevTools → Application → Cookies → `https://www.bilibili.com` 2. 找到 `SESSDATA`、`bili_jct`、`DedeUserID` 的值 3. 存入 Minis 环境变量:`BILI_SESSDATA` / `BILI_JCT` / `BILI_USERID` ### Cookie 传入方式(三种) ```python # 方式一:
Helps write CUDA and HIP kernels using torch.utils.cpp_extension.load_inline(). Use when users want to write native GPU code (CUDA/HIP) inside a Python submission file.
- 📁 references/
- 📁 scripts/
- 📄 SKILL.md
Generate a persistent .nexus-map/ knowledge base that lets any AI session instantly understand a codebase's architecture, systems, dependencies, and change hotspots. Use when starting work on an unfamiliar repository, onboarding with AI-assisted context, preparing for a major refactoring initiative, or enabling reliable cold-start AI sessions across a team. Produces INDEX.md, systems.md, concept_model.json, git_forensics.md and more. Requires shell execution and Python 3.10+. For ad-hoc file queries or instant impact analysis during active development, use nexus-query instead.
Create and manage isolated application sandboxes (Next.js, Python, PHP, etc.) with public URLs via Cloudflare.
- 📁 references/
- 📁 scripts/
- 📄 SKILL.md
Set up an AI-driven changelog system in any project. Creates CHANGELOG.md with an [Unreleased] section for AI agents, a Python version/changelog stamping script (CalVer or SemVer), and build/CI integration. Use when the user wants to add automated changelog management, AI-friendly changelog workflows, version stamping, or set up a changelog system for a new or existing project. Also use when asked to improve an existing changelog process.
Use this skill whenever the user wants to install, configure, or use asdf (asdf-vm), the universal version manager. Trigger for any mention of asdf, .tool-versions files, managing runtime versions, switching between versions of Node.js, Python, Ruby, Go, Terraform, kubectl, Java, Erlang, Elixir, or any other tool managed by asdf. Also trigger when migrating from nvm, pyenv, rbenv, goenv, tfenv, or similar single-language version managers. Use this skill for help with asdf plugins, asdf install, asdf set/global/local, troubleshooting shims, Fish/Bash/Zsh shell configuration, and multi-project version isolation workflows.
- 📁 cases/
- 📁 examples/
- 📁 references/
- 📄 .gitignore
- 📄 README.md
- 📄 SKILL.md
Node.js / Python 接口自动化与签名还原工程技能:对自有平台或已授权平台的 Web API 进行签名分析与接口对接, 通过 Camoufox 反检测浏览器动态调试与静态源码分析,定位并还原前端加密/签名逻辑, 使用 Node.js 或 Python 实现算法复现与自动化接口调用。 深度集成 camoufox-reverse MCP(C++ 引擎级指纹伪装,52 个逆向分析工具)。 擅长 JSVMP 虚拟机保护的双路径攻克:路径 A 算法追踪(Hook / 插桩 / 日志分析三板斧)、 路径 B 环境伪装(jsdom/vm 沙箱 + 浏览器环境采集对比 + 全量补丁)。
- 📄 __init__.py
- 📄 manifest.json
- 📄 SKILL.md
Cognithor - Agent OS: Local-first autonomous agent operating system. 16 LLM providers, 17 channels, 112+ MCP tools, 5-tier memory, A2A protocol, knowledge vault, voice, browser automation, Computer-use, self-healing, self-improving. Python 3.12+, Apache 2.0.
- 📁 assets/
- 📁 data/
- 📁 examples/
- 📄 LICENSE
- 📄 README.md
- 📄 SKILL.md
法律文件脱敏/还原工具 - 将法律文档中的敏感信息进行智能替换和脱敏处理,或将脱敏稿还原为原文 <examples> - 帮我把这份合同脱敏处理 - 我需要脱敏这个法律文件 - 生成脱敏版本的合同文档 - 将这份法律文书中的敏感信息替换掉 - 创建合同的脱敏版本 - 帮我把脱敏稿还原成原文 - 使用比对词还原审核稿 </examples> --- # 法律文件脱敏处理 将法律文档中的敏感信息进行智能替换和脱敏处理,生成可对外分享的脱敏版本。支持将脱敏稿交由外部审核后,使用比对词还原为原文。 ## 核心功能 ### 脱敏功能 - **多种脱敏类型**:名称、日期、价格、文件名、项目名、银行账号、案号等 - **自定义脱敏类型**:创建自定义类型(如"合同名称"、"产品型号"),批量输入精准匹配内容 - **批量模式**:多文件上传自动进入批量模式,统一编号确保跨文件一致性 - **规则设置**:可自主开启/关闭16种内置脱敏类别,灵活控制识别范围 - **智能替换**:根据上下文识别角色(买方/卖方公司) - **实时预览**:黄色高亮显示脱敏内容 - **格式保留**:完整保留原文格式(段落、表格、字体) - **白名单/黑名单管理**:精确控制特定内容的脱敏行为;黑名单支持记录项目类型 - **优先级机制**:黑名单 > 白名单 > 脱敏类别(内置+自定义) - **冲突检测**:添加到列表时自动检测是否已存在于其他列表 - **调试模式**:详细日志输出,便于排查问题 ### 还原功能 - **自动化还原**:根据比对词自动将【X】标记还原为原文 - **批量还原**:支持多文件同时还原,自动匹配文件配对,ZIP打包下载 - **保留审核痕迹**:还原时保留文档中的修订、批注等审核痕迹 - **runs级别替换**:精确替换,不影响其他内容的格式 ## 使用方式 ### HTML离线工具(推荐) #### 脱敏模式 **单文件脱敏:** 1. 打开 `assets/index.html`,选择"脱敏模式" 2. 拖拽或选择单个 docx 文件上传 3. 自动识别并预览脱敏效果 4. 手动编辑脱敏项 5. 导出脱敏文件和比对.md文档 **批量脱敏:** 1. 上传多个 docx 文件,自动进入批量模式 2. 统一识别:相同内容使用相同替换文本 3. 文件切换:通过列表栏切换查看各文件 4. 同步编辑:删除/添加脱敏项会同步到所有文件 5. 导出结果:每个文件生成独立的 `{文件名}_比对.md` #### 还原模式 **单文件还原:** 1. 打开 `assets/index.html`,选择"还原模式" 2. 上传脱敏稿(带审核痕迹的docx) 3. 上传对应的比对.md文件 4. 点击"执行还原",自动下载还原后的文件 **批量还原(4步流程):** 1. **上传文件**:上传多个脱敏稿 + 多个比对.md文件 2. **确认配对**:系统自动匹配文件名,支持手动调整 3. **执行还原**:批量处理,显示进度条 4. **下载结果**:ZIP打包下载 ### Python脚本 ```bash # 安装依赖 pip install python-docx # 执行脱敏 python scripts/redact.py input.docx data/rules.json -o output.docx # 执行还原(保留修订、批注) python scripts/restore.py redacted.docx mapping.md -o restored.docx ``` ## 详细文档 - **工作流程**: [references/workflow.md](references/workflow.md) - **规则模式库**: [references/patterns.md](references/patterns.md) - **数据格式**: [references/data-formats.md](references/data-formats.md) - **脚本使用**: [scripts/README.md](scripts/README.md) - **HTML使用**: [assets/README.md](assets/README.md) ## 版本历史 - **v1.5.0(2026-03-29)右键菜单集成 + Python/HTML识别统一**: - **Windows 右键菜单**:右键 .docx 文件可直接"用脱敏工具打开"、"一键脱敏"或"一键还原",通过注册表集成,无需管理员权限 - **macOS 右键菜单**:通过 Automator Quick Action 实现,Fi
- 📁 guardrails/
- 📁 knowledge/
- 📁 pipeline/
- 📄 SKILL.md
Converts an arxiv paper into a minimal, citation-anchored Python implementation. Trigger when user runs /paper2code with an arxiv URL or paper ID, says "implement this paper", or pastes an arxiv link asking for implementation. Flags all ambiguities honestly. Never invents implementation details not stated in the paper.