Token导航 LogoToken导航

Agent Skill · 研究检索

jlink(jlink 搜索)

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

jlink 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为调用外部服务;许可证为 MIT,暂无第三方扫描结果,按安装量在研究检索类的 73,675 个 Skill 里排第 72,863。

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

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

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

这个 Skill 是做什么的

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

发现并安装 AI 代理的技能,协助扩展宿主平台的功能模块。适用于需要动态加载新能力或集成第三方插件的研究检索场景。通过 npx skills add dmdorta1111/jac-v1 --skill "jlink" 命令从 GitHub 安装。需验证仓库来源可靠性及技能兼容性,防止引入恶意或不稳定组件。

建议在安装后查阅原始 README 文档以了解具体用法和潜在影响。

来源仓库内路径:skills/jlink

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要调用外部服务,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

jlink 怎么安装?

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

jlink 支持哪些 AI 工具?

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

jlink 需要什么权限?

权限级别是调用外部服务。该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

jlink 是免费的吗?

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

jlink 用的人多吗?

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

jlink 安全吗?

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

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

值得选的地方

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

先想清楚的地方

  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

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

不太适合

  • 要求有安全扫描结论才肯安装的团队。
  • 需要厂商级技术支持和 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调用外部服务未明确有提醒
jlink

jlink 搜索 · 本页

186—调用外部服务MIT未收录

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

SKILL.md 原文

name
jlink
description
>

Jlink - Java Automation Toolkit for Creo Parametric

Jlink (Object TOOLKIT Java) is a free Java API that enables programmatic automation of Creo Parametric design tasks. It provides Session-based access to models, features, parameters, assemblies, and drawings.

Quick Start

New to Jlink? Start here:

  1. Read Architecture Overview below
  2. Study Basic Patterns for initialization
  3. Review Common Tasks Decision Tree
  4. Check Reference Guide for specific operations

Core Concepts

Session Model (Entry Point)

All Jlink operations flow through a single Session object:

// Get active session (main pattern)
Session session = pfcSession.GetCurrentSessionWithCompatibility(
    CreoCompatibility.C4Compatible
);

// Now use session for all operations
Model model = session.RetrieveModel(descriptor);

Exception Handling (Universal)

All Jlink methods throw jxthrowable:

try {
    // Any Jlink operation
    Model model = session.RetrieveModel(descriptor);
    Feature feat = model.GetFeatureByName("MY_FEATURE");
} catch (jxthrowable x) {
    x.printStackTrace();
    // Handle error
}

Object Hierarchy

Session (connection to Creo)
├── Model (Part, Assembly, or Drawing)
│   ├── FeatureTree (all features)
│   ├── ParameterTable (model parameters)
│   └── Drawing-specific (sheets, views, notes)
├── UICommand (menu/toolbar integration)
└── Selection (interactive user selection)

Architecture Overview

Packages (20+ modules, but focus on core 6)

PackagePurposeKey Classes
pfcSessionSession managementSession, Selection, UICommand
pfcModelModels (parts, assemblies, drawings)Model, ModelDescriptor, ModelType
pfcFeatureFeature creation & manipulationFeature, FeatureCreate, FeatureType
pfcParameterParameters & dimensionsParameter, ParamValue, DimensionType
pfcGeometryGeometry operationsPoint, Vector, Transform
pfcAsyncConnectionAsync/remote operationsAsyncConnection, AsyncServer

Session Lifecycle

// 1. Retrieve session (usually already exists)
Session session = pfcSession.GetCurrentSessionWithCompatibility(
    CreoCompatibility.C4Compatible
);

// 2. Work with models/features/parameters
try {
    // Do work
} catch (jxthrowable x) {
    // Handle errors
}

// 3. Cleanup (usually automatic in application context)
// No explicit disconnect needed for current session

Basic Patterns

1. Model Operations

Retrieve existing model:

// By name and type
ModelDescriptor descr = pfcModel.ModelDescriptor_Create(
    ModelType.MDL_PART,
    "my_part",
    null  // No directory
);
Model model = session.RetrieveModel(descr);

// Get current model in Creo
Model current = session.GetCurrentModel();

Create/save model:

ModelDescriptor descr = pfcModel.ModelDescriptor_Create(
    ModelType.MDL_PART,
    "new_part",
    null
);
Model newModel = session.CreateModel(descr, null);

// Save to working directory
newModel.Save();  // or SaveAs(descriptor)

Model types:

  • ModelType.MDL_PART - Part file
  • ModelType.MDL_ASSEMBLY - Assembly file
  • ModelType.MDL_DRAWING - Drawing file

2. Feature Access & Creation

Get feature by name:

try {
    Feature feat = model.GetFeatureByName("EXTRUDE_1");
} catch (jxthrowable x) {
    // Feature not found
}

Iterate features:

FeatureTree featTree = model.GetFeatureTree();
Sequence<Feature> features = featTree.GetFeatures();

for (int i = 0; i < features.GetMembersCount(); i++) {
    Feature f = features.GetMember(i);
    // Process feature
}

Create feature (example: extrude):

FeatureCreateData createData = pfcFeature.FeatureCreate_Create(
    FeatureType.EXTRUDE,
    ModelRef.CURRENT,  // Current model
    "", null, null
);

// Set extrude depth
createData.SetIntParam("depth_type", 1);  // ONE_SIDED
createData.SetDoubleParam("depth_1", 10.0);  // 10 units

// Create and return feature
Feature newFeat = model.CreateFeature(createData);

3. Parameter Operations

Get parameter value:

try {
    Parameter param = model.GetParam("THICKNESS");
    ParamValue val = param.GetValue();
    double thickness = val.GetDoubleValue();
} catch (jxthrowable x) {
    // Parameter not found
}

Set parameter value:

Parameter param = model.GetParam("THICKNESS");
ParamValue newVal = pfcParameter.ParamValue_CreateDoubleParamValue(2.5);
param.SetValue(newVal);

Model parameters:

// Get all parameters
ParameterTable paramTable = model.GetParameters();
Sequence<Parameter> params = paramTable.GetParams();

for (int i = 0; i < params.GetMembersCount(); i++) {
    Parameter p = params.GetMember(i);
    // Access param
}

4. Interactive Selection

Get user selection:

UICommand cmd = session.UICreateCommand("custom.select", selectionListener);

// Selection types
SelectionOptions opts = pfcSelection.SelectionOptions_Create();
opts.AddFilterType(SelectionType.EDGE);  // Allow edge selection
opts.SetMaxSelectCount(5);  // Max 5 edges

Selection selection = session.UISelect(opts, null);

Process selections:

int count = selection.GetSelectionCount();
for (int i = 0; i < count; i++) {
    SelectedObject selObj = selection.GetSelectionItem(i);
    GeometryType geomType = selObj.GetSelectionType();
    // Use selected geometry
}

5. Assembly Operations

Add component:

ModelDescriptor compDescr = pfcModel.ModelDescriptor_Create(
    ModelType.MDL_PART,
    "component_name",
    null
);

ComponentFeat compFeat = (ComponentFeat)model.CreateFeature(
    pfcFeature.FeatureCreate_Create(
        FeatureType.COMPONENT,
        ModelRef.CURRENT,
        "", compDescr, null
    )
);

Apply constraints:

Constraint constraint = pfcConstraint.Constraint_CreateMateConstraint(
    surfaceRef1,  // First reference
    surfaceRef2   // Second reference
);
model.AddConstraint(constraint);

6. Drawing Automation

Create drawing view:

// Open template or create drawing
ModelDescriptor drawDescr = pfcModel.ModelDescriptor_Create(
    ModelType.MDL_DRAWING,
    "drawing_name",
    null
);
Model drawing = session.CreateModel(drawDescr, null);

// Add view (simplified)
DrawingSheet sheet = drawing.GetCurrentSheet();
DrawingView view = sheet.CreateGeneralView(modelRef, viewData);

Common Tasks Decision Tree

Choose task → find reference file → implement pattern

Model Management

  • Open/retrieve model → session.RetrieveModel(descriptor)
  • Create new model → session.CreateModel(descriptor, null)
  • Save model → model.Save() or model.SaveAs(descriptor)
  • Check if modified → model.GetModified() → bool

Feature Operations

  • Get feature by name → solid.GetFeatureByName(name)
  • Iterate all features → solid.ListFeaturesByType(true, null)
  • Create feature → solid.CreateFeature(FeatureCreateInstructions)
  • Delete feature → feature.CreateDeleteOp() then execute
  • Get feature dimensions → feature.ListSubItems(ITEM_DIMENSION) (returns ModelItems)

Parameters

  • Get parameter → model.GetParam(name) → GetValue()
  • Set parameter → param.SetValue(newValue)
  • List all parameters → model.GetParameters().GetParams()
  • Create parameter → model.AddParam()

Assembly

  • Add component → Feature creation with FeatureType.FEATTYPE_COMPONENT
  • Apply constraint → componentFeat.SetConstraints(constraints, path)
  • List components → solid.ListFeaturesByType(true, FeatureType.FEATTYPE_COMPONENT)
  • Get subassembly → componentFeat.GetModelDescr() → session.RetrieveModel()

Interactive Selection

  • Select edges → SelectionOptions.AddFilterType(SelectionType.EDGE)
  • Select surfaces → SelectionOptions.AddFilterType(SelectionType.SURFACE)
  • Get selected geometry → selection.GetSelectionItem(i) → process

Drawing

  • Create view → sheet.CreateGeneralView(modelRef, viewData)
  • Add note/dimension → sheet.CreateGeneralNote(position, text)
  • Export/print → Drawing-specific APIs
  • Get sheets → drawing.GetDrawingSheets()

Best Practices

  1. Always use try-catch - All Jlink operations throw jxthrowable
  2. Validate model type before specific operations (part vs assembly vs drawing)
  3. Regenerate after changes - model.Regenerate() for feature/parameter changes
  4. Check references validity - Geometry handles may become invalid after regen
  5. Batch operations - Group model open/close for efficiency
  6. Session reuse - Don't create new sessions; reuse GetCurrentSessionWithCompatibility()
  7. Clear resources - Free large collections/selections after use
  8. Log operations - Essential for debugging batch/async processes
  9. Handle missing features - Wrap feature access in try-catch
  10. Test with actual model - Jlink behavior varies by Creo configuration

Reference Files

For detailed information, see:

  • jlink-session.md - Session creation, lifecycle, compatibility modes
  • jlink-models.md - Model operations (open, create, save, properties)
  • jlink-features.md - Feature creation, types, dimension manipulation
  • jlink-parameters.md - Parameter access, modification, validation
  • jlink-assembly.md - Assembly operations, constraints, components
  • jlink-drawing.md - Drawing automation, views, sheets, export
  • jlink-selection.md - Interactive selection, geometry types, filters
  • jlink-patterns.md - Complete end-to-end workflow patterns
  • jlink-error-handling.md - Exception strategies, recovery, logging
  • jlink-performance.md - Optimization techniques, caching, async patterns

Installation & Setup

Prerequisites:

  • Creo 4.0+ with J-Link/OTK selected during installation
  • Java 21+ JDK for Creo 12.4+ (class file version 65.0)
  • IDE: Eclipse, IntelliJ, or VS Code

CLASSPATH configuration (Creo 12.4+):

${CREO_HOME}/Common Files/text/java/otk.jar
${CREO_HOME}/Common Files/text/java/pfcasync.jar

CLASSPATH configuration (Creo 4.0-11.x):

${CREO_HOME}/Common Files/otk_java_free/*.jar

Application registration (jlink.txt):

DESCRIPTION=MyApp
STARTUP=DLL
JAVA_MAIN_CLASS=com.mycompany.MyApp
JLINK_VERSION=11.0
CLASSPATH=MyApp.jar

Common Use Cases

Batch Model Modification:

  1. Get session
  2. For each model: RetrieveModel() → modify parameters → Regenerate() → Save()

Assembly Generation from Data:

  1. Create base assembly
  2. For each component: AddFeature(COMPONENT) → ApplyConstraints()
  3. Save assembly

Feature Extraction for CAM:

  1. Get model
  2. Iterate features by type
  3. Extract geometry references
  4. Generate NC code or CNC path data

Parameter-Driven Design:

  1. Get session
  2. Modify model parameters
  3. Regenerate model
  4. Extract modified geometry
  5. Generate drawings/exports

UI Integration:

  1. Create UICommand
  2. Register in menu/toolbar
  3. Handle selection via SelectionListener
  4. Apply changes to model

Creo 12.4 API Quick Reference

Verified Methods (from JAR analysis)

InterfaceMethodReturnsDescription
SessionGetCurrentDirectory()StringCurrent working dir
SessionGetActiveModel()ModelCurrent active model
SessionRetrieveModel(ModelDescriptor)ModelOpen model
ModelGetFullName()StringFull model path
ModelGetFileName()StringFile name only
ModelGetType()ModelTypeMDL_PART/MDL_ASSEMBLY
ModelListParams()ParametersAll parameters
SolidListFeaturesByType(Boolean, FeatureType)FeaturesGet features
SolidGetFeatureByName(String)FeatureGet single feature
SolidGetPrincipalUnits()UnitSystemUnit system
FeatureGetName()StringFeature name
FeatureGetFeatType()FeatureTypeFeature type
FeatureGetStatus()FeatureStatusSUPPRESSED/ACTIVE/etc
FeatureListSubItems(ModelItemType)ModelItemsGet dimensions etc
FeatureListChildren()FeaturesDependent features
BaseDimensionGetDimValue()doubleDimension value
BaseDimensionSetDimValue(double)voidSet dimension
ComponentFeatGetModelDescr()ModelDescriptorComponent model
ParameterGetValue()ParamValueParameter value
ParamValueGetDoubleValue()DoubleNumeric value
ParamValueGetStringValue()StringString value

Non-Existent Methods (Common Mistakes)

Wrong MethodCorrect Alternative
session.IsAlive()Try-catch GetCurrentDirectory()
session.GetWorkingDirectory()GetCurrentDirectory()
session.UISetComputeMode()Not available in Creo 12.4
model.GetModelName()GetFullName() or GetFileName()
feat.GetSuppressed()GetStatus() == FEAT_SUPPRESSED
feat.GetFailed()GetStatus() == FEAT_UNREGENERATED
feat.ListDimensions()ListSubItems(ITEM_DIMENSION)
dim.GetValue()GetDimValue() (BaseDimension)
compFeat.GetModelDescriptor()GetModelDescr()
model.GetUnitsystem()Solid.GetPrincipalUnits()

Unresolved Questions

  • Async connection best practices for distributed teams
  • Performance optimization for large assemblies (100+ components)
  • Integration patterns with SmartAssembly scripting workflow

平台分布

mcpjam

31.53%
按下载量换算20

Claude Code

22.61%
按下载量换算15

windsurf

17.43%
按下载量换算11

zencoder

12.5%
按下载量换算8

crush

8.62%
按下载量换算6

cline

3.28%
按下载量换算2

安全审计

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

权限和风险

调用外部服务

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

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

继续浏览同类 Skills