Token导航 LogoToken导航

Agent Skill · 研究检索

creo-toolkit(克里奥工具包)

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

creo-toolkit 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证为 MIT,暂无第三方扫描结果,按安装量在研究检索类的 73,675 个 Skill 里排第 70,834。

总安装 198周安装 8GitHub Stars 公开资料未说明下载 62核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:creo-toolkit(克里奥工具包)
来源仓库:https://github.com/dmdorta1111/jac-v1
仓库路径:skills/creo-toolkit
安装命令:
npx skills add dmdorta1111/jac-v1 --skill "creo-toolkit"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

AgentSkills.tonpx skills
npx skills add dmdorta1111/jac-v1 --skill "creo-toolkit"

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

发现并安装 AI 代理的技能。适用于 Codex、Claude、Cursor、Gemini CLI 环境。提供技能管理与集成框架支持。creo-toolkit 属于研究检索类 Skill,可作为该场景下的辅助能力补充。通过 github 安装,需使用 npx 命令指定仓库和技能路径。

建议核对原始 README 了解具体功能边界。

来源仓库内路径:skills/creo-toolkit

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add dmdorta1111/jac-v1 --skill "creo-toolkit";命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

creo-toolkit 怎么安装?

在终端执行 npx skills add dmdorta1111/jac-v1 --skill "creo-toolkit"。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

creo-toolkit 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

creo-toolkit 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add dmdorta1111/jac-v1 --skill "creo-toolkit" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

creo-toolkit 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

creo-toolkit 用的人多吗?

公开数据是累计安装 198 次,近一周安装 8 次,下载 62 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

creo-toolkit 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 要求有安全扫描结论才肯安装的团队。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
creo-toolkit

克里奥工具包 · 本页

198—执行命令MIT未收录

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
creo-toolkit
description
>

Creo Parametric TOOLKIT API Reference

Creo Parametric TOOLKIT is PTC's C-language API for customizing Creo Parametric. It provides controlled access to the Creo database and user interface through a library of C functions.

API Style and Conventions

Naming Convention

All functions follow: Pro<ObjectType><Action>()

ProSolidRegenerate()      // Object=Solid, Action=Regenerate
ProFeatureDelete()        // Object=Feature, Action=Delete
ProSurfaceAreaEval()      // Object=Surface, Action=AreaEval
ProEdgeLengthEval()       // Object=Edge, Action=LengthEval

Action Verbs

VerbPurpose
GetRead directly from database
SetWrite to database
EvalSimple calculation result
ComputeNumerical analysis (geometry-based)
VisitTraverse items with callback
CreateCreate new object
DeleteRemove object
Alloc/FreeMemory management

Function Arguments

  • First argument: target object
  • Input arguments before output arguments
  • Return type: ProError (enumerated status)

Common Error Codes

PRO_TK_NO_ERROR        // Success
PRO_TK_BAD_INPUTS      // Invalid arguments
PRO_TK_E_NOT_FOUND     // Item not found
PRO_TK_USER_ABORT      // User cancelled
PRO_TK_GENERAL_ERROR   // General failure
PRO_TK_OUT_OF_MEMORY   // Memory allocation failed
PRO_TK_BAD_CONTEXT     // Wrong mode/state

Object Handles

Opaque Handles (OHandle)

Memory pointers to Creo structures - volatile, may become invalid after regeneration:

typedef void* ProMdl;
typedef struct sld_part* ProSolid;
typedef struct geom* ProSurface;
typedef struct curve_header* ProEdge;
typedef struct entity* ProAxis;
typedef struct entity* ProCsys;

Database Handles (DHandle)

Persistent identifiers with type, ID, and owner:

typedef struct pro_model_item {
    ProType type;
    int id;
    ProMdl owner;
} ProModelitem, ProGeomitem;

Converting Between Handles

// OHandle to DHandle
ProSurfaceIdGet(surface, &id);
ProModelitemInit(owner, PRO_SURFACE, id, &modelitem);

// DHandle to OHandle  
ProSurfaceInit(modelitem.owner, modelitem.id, &surface);

Application Structure

Required Entry Points

#include "ProToolkit.h"

int user_initialize(int argc, char *argv[], 
                    char *version, char *build,
                    wchar_t err_buff[80])
{
    // Setup menus, notifications, initialization
    // Must contain at least one Pro* API call
    return 0;  // 0=success, non-zero=failure
}

void user_terminate()
{
    // Cleanup code
}

Registry File (creotk.dat)

name MyApplication
startup dll
exec_file C:\path\to\myapp.dll
text_dir C:\path\to\text
allow_stop TRUE
end

Application Modes

ModeDescriptionUse Case
DLLDynamic linking into CreoProduction deployment
Multiprocess (spawn)Separate processDevelopment/debugging
AsynchronousIndependent processBatch operations

Visit Functions

Pattern for traversing collections:

ProError MyVisitAction(ProFeature* feature, 
                       ProError status,
                       ProAppData app_data)
{
    // Process feature
    return PRO_TK_NO_ERROR;  // Continue visiting
    // return PRO_TK_E_FOUND; // Stop visiting
}

ProError MyFilter(ProFeature* feature, ProAppData app_data)
{
    // Return PRO_TK_CONTINUE to skip
    // Return any other value to visit
    return PRO_TK_NO_ERROR;
}

// Usage
ProSolidFeatVisit(solid, MyVisitAction, MyFilter, &my_data);

Common Visit Functions

  • ProSolidFeatVisit() - Features in solid
  • ProSolidSurfaceVisit() - Surfaces in solid
  • ProSolidAxisVisit() - Axes in solid
  • ProSolidCsysVisit() - Coordinate systems
  • ProSolidQuiltVisit() - Quilts
  • ProFeatureSurfaceVisit() - Surfaces in feature
  • ProAsmcompVisit() - Assembly components

Expandable Arrays (ProArray)

Dynamic arrays for variable-size data:

ProArray my_array;

// Allocate: count, element_size, growth_increment
ProArrayAlloc(0, sizeof(ProFeature), 10, &my_array);

// Add element
ProFeature feat;
ProArrayObjectAdd(&my_array, PRO_VALUE_UNUSED, 1, &feat);

// Get size
int size;
ProArraySizeGet(my_array, &size);

// Access elements
ProFeature* features = (ProFeature*)my_array;
for (int i = 0; i < size; i++) {
    // Use features[i]
}

// Free
ProArrayFree(&my_array);

ProSelection Object

References geometry in assembly context:

ProSelection selection;
ProModelitem modelitem;
ProAsmcomppath comp_path;

// Create selection
ProSelectionAlloc(&comp_path, &modelitem, &selection);

// Extract info
ProSelectionModelitemGet(selection, &modelitem);
ProSelectionAsmcomppathGet(selection, &comp_path);

// Free
ProSelectionFree(&selection);

Models and File Operations

ProMdl model;
ProName name;
ProMdlType type;

// Retrieve model
ProStringToWstring(name, "part_name");
ProMdlnameRetrieve(name, PRO_MDL_PART, &model);

// Get current model
ProMdlCurrentGet(&model);

// Save model
ProMdlSave(model);

// Erase from session
ProMdlErase(model);

Feature Creation Overview

Features are created using Element Trees - hierarchical data structures:

  1. Allocate root element: PRO_E_FEATURE_TREE
  2. Add feature type: PRO_E_FEATURE_TYPE
  3. Add feature-specific elements (including references via ProSelectionToReference)
  4. Get current model and create model selection
  5. Call ProFeatureWithoptionsCreate() with options array

Standard Pattern (Recommended)

ProError CreateFeatureExample()
{
    ProElement feat_elemtree, elem_feattype;
    ProMdl model;
    ProModelitem model_item;
    ProSelection model_selection;
    ProFeature created_feature;
    ProErrorlist errors;
    ProFeatureCreateOptions *options = NULL;
    ProError status;

    /* 1. Allocate root element */
    status = ProElementAlloc(PRO_E_FEATURE_TREE, &feat_elemtree);

    /* 2. Add feature type */
    status = ProElementAlloc(PRO_E_FEATURE_TYPE, &elem_feattype);
    status = ProElementIntegerSet(elem_feattype, PRO_FEAT_xxx);
    status = ProElemtreeElementAdd(feat_elemtree, NULL, elem_feattype);

    /* 3. Add feature-specific elements... */

    /* 4. Get current model and create selection */
    status = ProMdlCurrentGet(&model);
    status = ProMdlToModelitem(model, &model_item);
    status = ProSelectionAlloc(NULL, &model_item, &model_selection);

    /* 5. Set creation options */
    status = ProArrayAlloc(1, sizeof(ProFeatureCreateOptions), 1, (ProArray*)&options);
    options[0] = PRO_FEAT_CR_DEFINE_MISS_ELEMS;

    /* 6. Create the feature */
    status = ProFeatureWithoptionsCreate(model_selection, feat_elemtree,
        options, PRO_REGEN_NO_FLAGS, &created_feature, &errors);

    /* 7. Cleanup */
    status = ProArrayFree((ProArray*)&options);
    status = ProElementFree(&feat_elemtree);
    status = ProSelectionFree(&model_selection);

    return status;
}

Setting Element Values (Preferred Type-Specific Functions)

/* Integer values */
ProElementIntegerSet(elem, PRO_FEAT_HOLE);

/* Double values */
ProElementDoubleSet(elem, 25.5);

/* Wide string values */
ProName wname;
ProStringToWstring(wname, "MY_FEATURE");
ProElementWstringSet(elem, wname);

/* Reference values (from selections) */
ProReference reference;
ProSelectionToReference(selection, &reference);
ProElementReferenceSet(elem, reference);

/* Collection values */
ProElementCollectionSet(elem, collection);

See references/element-trees.md and references/feature-creation-examples.md for detailed patterns.

Error Handling Pattern

ProError status;
status = ProSomeFunction(...);
if (status != PRO_TK_NO_ERROR) {
    switch (status) {
        case PRO_TK_BAD_INPUTS:
            // Handle invalid inputs
            break;
        case PRO_TK_E_NOT_FOUND:
            // Handle not found
            break;
        default:
            // Handle other errors
            break;
    }
}

Wide Strings

Creo uses wide character strings for internationalization:

wchar_t wname[PRO_NAME_SIZE];
char cname[PRO_NAME_SIZE];

// Convert string to wstring
ProStringToWstring(wname, "MyName");

// Convert wstring to string
ProWstringToString(cname, wname);

// Wide string operations
ProWstringCopy(dest, source, PRO_VALUE_UNUSED);
ProWstringCompare(str1, str2, PRO_VALUE_UNUSED, &result);
int length;
ProWstringLengthGet(wstr, &length);

Reference Files

For detailed information, see:

  • references/element-trees.md - Feature creation with element trees
  • references/feature-creation-examples.md - Complete feature examples (holes, chamfers, datum points/axes, remove surface)
  • references/core-objects.md - Core object types and relationships
  • references/common-functions.md - Common function patterns
  • references/ui-programming.md - User interface programming
  • references/utility-functions.md - ProUtil* helper functions from PTC examples (NOT official API)
  • references/layers-relations-materials.md - Layers, relations, parameters, and material operations

Curve and Surface Collections

For features that operate on multiple edges or surfaces (chamfers, rounds, remove surface):

Curve Collection (Edges)

#include <ProCrvcollection.h>

ProCollection collection;
ProCrvcollinstr instr;
ProReference reference;

ProCrvcollectionAlloc(&collection);
ProCrvcollinstrAlloc(PRO_CURVCOLL_ADD_ONE_INSTR, &instr);
ProSelectionToReference(edge_selection, &reference);
ProCrvcollinstrReferenceAdd(instr, reference);
ProCrvcollectionInstructionAdd(collection, instr);

/* Optional: add tangent chain */
ProCrvcollinstrAlloc(PRO_CURVCOLL_ADD_TANGENT_INSTR, &instr);
ProCrvcollectionInstructionAdd(collection, instr);

/* Set in element */
ProElementCollectionSet(elem, collection);

Surface Collection

#include <ProSrfcollection.h>

ProCollection collection;
ProSrfcollinstr instr;
ProReference reference;
ProSrfcollref instr_ref;

ProSrfcollectionAlloc(&collection);
ProSrfcollinstrAlloc(1, PRO_B_TRUE, &instr);
ProSrfcollinstrIncludeSet(instr, 1);

ProSelectionToReference(surface_selection, &reference);
ProSrfcollrefAlloc(PRO_SURFCOLL_REF_SINGLE, reference, &instr_ref);
ProSrfcollinstrReferenceAdd(instr, instr_ref);
ProSrfcollectionInstructionAdd(collection, instr);

Layer Operations

#include <ProLayer.h>

/* Create layer */
ProLayer layer;
layer.owner = model;
ProStringToWstring(layer.layer_name, "MY_LAYER");
ProLayerCreate(&layer);

/* Add item to layer */
ProLayerItem item;
item.type = PRO_FEATURE;
item.id = feature_id;
ProLayerItemAdd(&layer, &item);

/* Set display status */
ProLayerDisplaystatusSet(&layer, PRO_LAYER_TYPE_BLANK);
ProWindowRepaint(-1);

Custom Relation Functions

#include <ProRelSet.h>

/* Register function for use in relations dialog */
ProRelfuncArg *args;
ProArrayAlloc(1, sizeof(ProRelfuncArg), 1, (ProArray*)&args);
args[0].type = PRO_PARAM_DOUBLE;
args[0].attributes = PRO_RELF_ATTR_NONE;

ProRelationFunctionRegister("my_calc", args,
    MyReadFunc,    /* For RHS - returns value */
    MyWriteFunc,   /* For LHS - sets value */
    NULL, PRO_B_FALSE, NULL);

Utility Functions Note

Functions starting with ProUtil* (e.g., ProUtilVectorCross, ProUtilMatrixInvert, ProUtilFeatCreate) are custom helper functions from PTC's example code, NOT official Pro/TOOLKIT API. They are found in headers like UtilMath.h, UtilMatrix.h, UtilFeats.h. To use them, either include the source files from PTC's examples or implement equivalent functionality.

Menu System (Legacy Menus)

For custom menus in Pro/TOOLKIT:

#include <ProMenu.h>

int menu_id;
int action;

/* Register menu from .mnu file */
ProMenuFileRegister("MYMENU", "mymenu.mnu", &menu_id);

/* Set button actions */
ProMenubuttonActionSet("MYMENU", "Option1", MyAction, NULL, 1);
ProMenubuttonActionSet("MYMENU", "Option2", MyAction, NULL, 2);
ProMenubuttonActionSet("MYMENU", "MYMENU", MyMenuExit, NULL, -1);

/* Create and process menu */
ProMenuCreate(PROMENUTYPE_MAIN, "MYMENU", &menu_id);
ProMenuProcess("MYMENU", &action);

/* Action callback */
int MyAction(ProAppData data, int value)
{
    /* Process selection based on value */
    return 0;
}

/* Exit menu */
int MyMenuExit(ProAppData data, int value)
{
    ProMenuDeleteWithStatus(value);
    return 0;
}

Best Practices

  1. Always check return status of Pro* functions
  2. Free allocated memory - ProArray, ProSelection, ProElement, ProReference, etc.
  3. Use PRO_TK_NO_ERROR for success checks
  4. Include proper headers - ProToolkit.h first, then object-specific headers
  5. Validate wchar_t size with ProWcharSizeVerify() in user_initialize
  6. Use DLL mode for production, multiprocess for debugging
  7. Unlock applications before distribution with protk_unlock.bat
  8. Base makefiles on PTC-provided samples for correct compiler flags
  9. Use ProFeatureWithoptionsCreate instead of ProFeatureCreate for better control
  10. Use type-specific element setters (ProElementIntegerSet, ProElementDoubleSet) over ProValueData
  11. Convert selections to references using ProSelectionToReference for element trees
  12. Use PRO_FEAT_CR_DEFINE_MISS_ELEMS option to prompt for missing elements during development
  13. **Distinguish ProUtil* functions** - they are NOT official API, come from example code

Common Headers by Task

TaskRequired Headers
Feature creationProFeature.h, ProElement.h, ProElemId.h, ProFeatType.h, ProFeatForm.h
Hole featuresProHole.h
Rounds/ChamfersProRound.h, ProChamfer.h, ProCrvcollection.h
Datum featuresProDtmPln.h, ProDtmAxis.h, ProDtmPnt.h, ProDtmCsys.h
ExtrusionsProExtrude.h, ProStdSection.h, ProSection.h
SelectionsProSelection.h, ProSelbuffer.h
ParametersProParameter.h, ProParamval.h
MaterialsProMaterial.h, ProMdlUnits.h
LayersProLayer.h
RelationsProRelSet.h
MenusProMenu.h, ProMenuBar.h
DialogsProUIDialog.h, ProUI*.h

平台分布

mcpjam

30.03%
按下载量换算19

Claude Code

22.87%
按下载量换算14

windsurf

19.25%
按下载量换算12

zencoder

13.89%
按下载量换算9

crush

8.93%
按下载量换算6

cline

3.84%
按下载量换算2

安全审计

暂无安全审计结果可展示。

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add dmdorta1111/jac-v1 --skill "creo-toolkit" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

继续浏览同类 Skills