Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计通过

cubrid-oos-contextcubrid oos 上下文

Agent Skill

cubrid-oos-context 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

222

周安装

9

GitHub Stars

2

下载量

70
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:cubrid-oos-context(cubrid oos 上下文)
来源仓库:https://github.com/vimkim/my-cubrid-skills
仓库路径:skills/cubrid-oos-context
安装命令:
npx skills add https://github.com/vimkim/my-cubrid-skills --skill cubrid-oos-context
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/vimkim/my-cubrid-skills --skill cubrid-oos-context

简介

cubrid-oos-context 加载 Out-of-row Overflow Storage 项目的开发上下文与架构细节。

  • 适用于 OOS 特性相关的功能开发、调试与跨模块协作场景。
  • 自动验证 git 环境与项目结构,加载关联代码库与文档资料。
  • 通过 npx skills add 安装,需处于 CUBRID 源码树内方可正确解析依赖关系。
  • 提供项目级符号跳转与交叉引用能力,加速问题定位与理解深度。

SKILL.md

CUBRID OOS Context

This skill loads context about the OOS (Out-of-row Overflow Storage) project — a CUBRID feature that separates large variable-length columns from heap records into dedicated OOS files to reduce unnecessary disk I/O.

$ARGUMENTS

Step 0: Validate environment

Before loading context, verify the workspace is ready for OOS development. Run the bundled validation script against the current working directory:

bash <skill-path>/scripts/validate-env.sh "$PWD"

This checks that:

  • You're in a git repository (or worktree) — needed for code search, grep, and git features
  • The directory is a CUBRID source tree (has CMakeLists.txt + CMakePresets.json)
  • OOS source files exist (oos_file.cpp — indicates you're on a feat/oos branch)
  • PRESET_MODE is set and a build directory exists (build_preset_*)
  • compile_commands.json is present at the project root — this is essential for LSP features (hover, goto-definition, find-references via clangd)
  • clangd and just are available

If the script reports errors (exit code 1):

  • Warn the user about what's missing and how to fix it
  • If compile_commands.json is missing, tell the user to run just build (which generates it via CMake's CMAKE_EXPORT_COMPILE_COMMANDS=ON) and then symlink it: ln -sf build_preset_${PRESET_MODE}/compile_commands.json.
  • If not in a git repo, suggest switching to a CUBRID worktree (e.g., one under ~/gh/cb/)
  • Do NOT skip context loading — proceed with Step 1, but note the limitations

If the script reports only warnings (exit code 0):

  • Note the warnings but proceed normally — the environment is usable

Step 1: Load OOS context

Read the single source of truth for OOS knowledge:

/home/vimkim/gh/cubrid-oos-context/OOS-CONTEXT.md

This file contains everything needed for OOS implementation and debugging:

  • Quick reference (trigger conditions, flags, key source files)
  • Architecture & design (record format, binary layout, multi-chunk chain, comparison with other DBs)
  • CRUD flows (INSERT, SELECT, UPDATE, DELETE step-by-step)
  • Recovery, replication & MVCC invariants
  • Known bugs, limitations & optimization ideas
  • Test scenarios and SQL patterns

This single file is sufficient for most OOS-related questions. Read it before answering.

Quick Reference

ConceptDetail
OOS triggerrecord > DB_PAGESIZE/8 (2KB on 16KB pages) AND column > 512B
OOS file typeFILE_OOS, one per heap file (1:1 mapping)
OOS pointer8-byte OOS OID (volid, pageid, slotid) in variable area
MVCC flagsOR_MVCC_FLAG_HAS_OOS (bit 3), OR_VAR_BIT_OOS (bit 0)
Key sourcesheap_file.c, oos_file.cpp, object_representation.h
Branchfeat/oos
Current milestoneM2 (3/10-4/17): bestspace, compaction, vacuum, drop table

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.22%
按下载量换算25

Claude

30.88%
按下载量换算22

Cursor

17.54%
按下载量换算12

Gemini CLI

8.29%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills