Token导航 LogoToken导航TokenDH.com
研究检索敏感数据unknown未标认证来源可访问许可证需确认审计未展示

cognitecognite 搜索

Agent Skill

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

总安装

294

周安装

12

下载量

95
Local Agent

安装说明

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

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。当前暂无明确安装命令,请以来源页面说明为准。

简介

用于访问 Cognite Data Fusion 工业数据平台的相关信息和资源。

  • 支持构建数据管道、定义知识图谱及查询 REST API 或 SDK。
  • 适用于需要集成 OT/IT 系统数据的工业应用场景。
  • 可通过 Python 或 JavaScript SDK 调用平台功能。
  • 建议结合 Cognite Toolkit CLI 进行配置部署。

SKILL.md

Cognite Data Fusion (CDF) skill

Product summary

Cognite Data Fusion is an industrial data platform that ingests, models, and exposes data from operational technology (OT) and information technology (IT) systems. Agents use CDF to build data pipelines (extract → transform → contextualize), define industrial knowledge graphs via data modeling, query resources via REST API or SDKs, and deploy configurations using the Cognite Toolkit. Key entry points: REST API at https://{cluster}.cognitedata.com/api/v1, Python SDK (cognite-sdk), JavaScript SDK (@cognite/sdk), and the Cognite Toolkit CLI (cdf). Primary docs: docs.cognite.com

When to use

Reach for this skill when:

  • Integrating data: Setting up extractors (OPC UA, PI, SAP, databases) to stream data into CDF, configuring extraction pipelines, or monitoring data ingestion
  • Modeling data: Designing data models with spaces, containers, views, and instances; querying graphs with GraphQL or REST; managing access via spaces
  • Working with Assets in CDM: Creating or updating CogniteAsset hierarchies, populating assets via transformations, querying assets in CDF Search (shown as "Asset")
  • Working with Assets (legacy): Maintaining existing asset-centric applications using the /assets API
  • Querying resources: Retrieving assets, time series, events, files, or sequences; using external IDs for lookups; filtering with advanced query language (AQL)
  • Deploying infrastructure: Using the Cognite Toolkit to manage CDF projects as code, setting up CI/CD pipelines, or deploying modules
  • Building applications: Authenticating with OAuth 2.0/OIDC, using Python/JavaScript SDKs to read/write data, or calling REST endpoints
  • Managing access: Configuring OIDC providers, creating groups, assigning capabilities, or controlling access to spaces and data sets
  • Automating workflows: Setting up data workflows with tasks and triggers, transforming data, or orchestrating multi-step processes

Core data modeling vs. legacy

The Cognite Data Fusion (CDF) platform supports two modes:

ModeUse caseKey conceptsAPI
Core data modeling (CDM)New projects, knowledge graphsCogniteAsset, CogniteTimeSeries, CogniteFileInstances API, GraphQL
LegacyExisting asset-centric applicationsAssets, Time series, Events, Files/assets, /timeseries, /events, /files

For new development, prefer core data modeling. Use the legacy APIs only when maintaining existing applications.

Quick reference

Core resource types (core data modeling)

ResourceCDM conceptPurposeAPI / SDK
AssetsCogniteAssetHierarchical entities; shown as "Asset" in CDF SearchInstances API / data_modeling.instances
Time seriesCogniteTimeSeriesOrdered data points over timeInstances API + Time Series API (data points)
FilesCogniteFileDocuments, diagrams, imagesInstances API + File content API (upload)

Legacy resource types

ResourceLegacy APIUse when
Assets/assetsMaintaining existing asset-centric apps
Time series/timeseriesMetadata only; data points work with both
Events/eventsLegacy event storage
Files/filesMetadata only; content works with both

Other resource types

ResourcePurposeKey field
RAWUnstructured staging datadbName, tableName
Data modelsGraphs with spaces, containers, viewsspace, externalId

Common developer goals

GoalCDM approachDocumentation
Build an asset hierarchyCreate CogniteAsset instances with parent via Instances APIBuilding an asset hierarchy
Create and populate time seriesCreate CogniteTimeSeries; use Time Series API for data pointsIntegrate time series
Create and link filesCreate CogniteFile instances; use File content API for uploadIntegrate files
Query assetsSearch/list CogniteAsset via Instances API or GraphQLCore data model, Instances
Link time series to assetsSet assets relation on CogniteTimeSeriesIntegrate time series
Link files to assetsSet assets relation on CogniteFileIntegrate files

Authentication patterns

ScenarioMethodUse case
Server-side scriptsAPI key or client credentialsExtractors, scheduled jobs
Web applicationsOAuth 2.0 bearer tokenFrontend apps, user sessions
Python SDKOIDC with Entra IDInteractive scripts, Jupyter
Cognite ToolkitService principal + client secretCI/CD, automated deployments

Cognite Toolkit workflow

cdf modules init                    # Initialize project structure
cdf build --env=dev                 # Build artifacts from YAML configs
cdf deploy --dry-run --env=dev      # Validate before deploying
cdf deploy --env=dev                # Deploy to CDF project

Configuration files

  • cdf.toml — Global CLI settings (organization, environment, plugins)
  • config.[env].yaml — Per-environment project settings and module selection
  • modules/ — Resource directories (data_modeling/, raw/, access/, etc.)
  • *.yaml — Resource configs (e.g., my.space.yaml, my.container.yaml)

Common API endpoints

OperationCDM endpointLegacy endpoint
Create/update assetsPOST /datamodels/instances/query (Instances API)POST /assets
Create/update time seriesInstances API + POST /timeseries/data (data points)POST /timeseries
Create/update filesInstances API + POST /files/uploadlinkPOST /files
List/query assetsInstances API, GraphQLGET /assets, POST /assets/list
Query data modelPOST /graphql

Decision guidance

When to use REST API vs SDK

ConditionUse REST APIUse SDK
Simple one-off requests
Batch operations, high throughput
Complex data transformations
Scripting/automation
Direct HTTP integration

When to use RAW vs data modeling

ScenarioRAWData modeling
Staging raw source data
Temporary transformation storage
Structured industrial graphs
Long-term queryable data
Access control by space

When to use external ID vs internal ID

Use caseExternal IDInternal ID
Linking to source systems
Avoiding duplicates on insert
Human-readable lookups
Performance-critical reads
Batch operations

Query approach: CRUD vs advanced query

NeedCRUD endpointsAdvanced query (AQL)
Fast, immediate consistency
Batch read/write operations
Complex filtering on metadata
Human exploration/analysis
Large-scale synchronization

Workflow

1. Set up authentication and project access

  • Identify the authentication method (API key, OAuth 2.0, service principal)
  • For Cognite Toolkit: configure cdf.toml with organization and environment
  • For SDKs: set up OIDC provider (Entra ID or Amazon Cognito) and obtain credentials
  • Test connectivity: cdf status or client = CogniteClient() in Python

2. Understand your data model

  • Identify source systems and their data types (time series, events, assets)
  • Map external IDs from source systems to CDF resources
  • Decide: will you use RAW for staging, or ingest directly into data models?
  • If using data modeling: design spaces, containers, and views for your domain

3. Extract and stage data

  • Choose an extractor (OPC UA, PI, SAP, database, REST, file, etc.)
  • Configure the extractor with source credentials and CDF connection
  • Set up an extraction pipeline to monitor ingestion
  • Verify data arrives in RAW or target data model

4. Transform and contextualize

  • Write SQL transformations to reshape RAW data into CDF resource types
  • Use entity matching to link entities across source systems
  • Build relationships between assets, time series, and events
  • Assign external IDs consistently across all resources

5. Query and expose data

  • Use REST API or SDK to retrieve resources by external ID or filter
  • For complex queries: use GraphQL on data models or advanced query language (AQL)
  • Implement pagination for large result sets (max 10,000 per request)
  • Cache results where appropriate to reduce API calls

6. Deploy with infrastructure-as-code

  • Define all resources (spaces, containers, views, access groups) in YAML
  • Organize configs in modules under modules/ directory
  • Use cdf build to validate and generate artifacts
  • Use cdf deploy --dry-run to preview changes before applying
  • Commit configs to version control and integrate with CI/CD (GitHub Actions, Azure DevOps, GitLab)

Common gotchas

  • Asset search discovery: Searching for "Asset" in the API reference surfaces legacy /assets endpoints. For Core Data Modeling, use the Instances API with CogniteAsset—see Core data model and Building an asset hierarchy.
  • External ID uniqueness: External IDs are unique per resource type, not globally. An asset and time series can both have externalId=123. Enforce this in your source system mapping.
  • Search vs CRUD consistency: Advanced query (AQL) is eventually consistent and slower than CRUD endpoints. Don't use it for large-scale batch synchronization; use /byids or /list instead.
  • Pagination limits: Max 10,000 items per page. For data modeling queries, pagination only works at the top level; nested results cannot be paginated.
  • Data modeling access control: Access is scoped to spaces, not data sets. Users need dataModelsAcl.READ to the space and dataModelInstancesAcl.READ/WRITE to instances.
  • Extraction pipeline monitoring: Create extraction pipelines to track ingestion health. Without them, you won't see run history or failure notifications.
  • Toolkit module ordering: Spaces must be created before containers, containers before views, and views before data models. Use numbered prefixes (e.g., 01_space.yaml, 02_container.yaml) if dependencies exist within the same type.
  • Token expiration: OAuth 2.0 tokens expire. SDKs handle refresh automatically, but custom HTTP clients must implement token refresh logic.
  • Rate limiting: CDF enforces throttling on parallel requests. Default: 20 parallel time series operations, 10 parallel data point operations. Respect these limits or requests will be queued.
  • Deprecated API versions: API v0.5, v0.6 are removed. Always use the latest API version (v1).
  • Missing capabilities: Users need specific capabilities (e.g., timeseries:read, assets:write) to perform operations. Check access errors against the capabilities reference.

Verification checklist

Before submitting work:

  • Authentication works: Test with cdf status (Toolkit) or client.data_modeling.instances.list() (SDK, CDM) or client.assets.list() (SDK, legacy)
  • External IDs are set: All resources have unique, consistent external IDs from source systems
  • Data flows end-to-end: Verify data appears in CDF (check extraction pipeline runs, query a sample asset/time series)
  • Access is configured: Test that intended users/groups can read/write resources; check space and capability assignments
  • Queries are efficient: For data modeling, run with profile: true to check debug notices; avoid full table scans
  • Pagination is handled: If retrieving >10,000 items, implement cursor-based pagination
  • Dry-run passes: Run cdf deploy --dry-run and review changes before applying
  • CI/CD is integrated: Toolkit configs are in version control and CI/CD pipeline validates/deploys on merge
  • Monitoring is in place: Extraction pipelines, data workflows, and functions have alerts configured
  • Documentation is updated: Record external ID mappings, data model schema, and access policies

Resources

Core data modeling

General


For additional documentation and navigation, see: docs.cognite.com/llms.txt

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

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

平台分布

Local Agent

89.39%
按下载量换算85

安全审计

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

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills