跳到主要内容
知仓学习社ZHICANG

oci-iot-platform

Explore, create, and troubleshoot Oracle Cloud Infrastructure Internet of Things Platform resources, including domains, digital twin models, adapter…

读文件无严重或高危命中oracle/skills

它会碰到什么

扫了多少17 个文本文件,65 KB
它会碰到什么读文件
命中总数1 处
命中统计严重 0 · 高 0 · 中 1 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

OCI IoT Platform

Quick Start

  1. Confirm the user is working with Oracle Cloud Infrastructure Internet of Things Platform.
  2. Ask for the minimum context needed before giving commands:
  • IOT_DOMAIN_ID when available
  • OCI_CLI_PROFILE
  • OCI_CLI_AUTH when the selected profile needs it, such as security_token
  • OCI_REGION if it cannot be derived from the domain
  • intended operation: inspect, create, update, delete, or publish test telemetry
  1. Prefer this execution order:
  • discover the domain and current state
  • inspect the relevant model, adapter, or twin
  • check local CLI capability with oci ... --help when using newer filters or gateway/raw-command options
  • make the smallest required change
  • verify the result with a fresh read

Default Workflow

  1. Start with read-only OCI CLI discovery.
  2. Use scripts/derive_domain_context.sh when the user only has IOT_DOMAIN_ID.
  3. Use [references/platform-surface.md](references/platform-surface.md) when the task needs orientation on OCI IoT resource families, data flow, connectivity types, or which surface to use.
  4. Use [references/cli-workflows.md](references/cli-workflows.md) for control-plane actions:
  • domains and domain groups
  • digital twin models
  • adapters
  • instances
  • relationships
  • work requests
  • HTTPS publish examples
  1. Use [references/mcp-optional-use.md](references/mcp-optional-use.md) only when an OCI IoT MCP server is already available in the user's environment. Keep CLI as the fallback and never require MCP for public workflows.
  2. Use [references/resilience-guidance.md](references/resilience-guidance.md) for:
  • large or ambiguous list operations
  • SDK or CLI command-shape drift
  • gateway-aware topology
  • relationship source/target diagnosis
  • work-request failures
  • publish rejection triage
  • raw-command final-state validation
  • cleanup or rollback planning
  1. Use [references/modeling-guidance.md](references/modeling-guidance.md) when the request involves DTDL authoring or adapter payload design.
  2. Use [references/data-access.md](references/data-access.md) only when the user explicitly needs Data API, ORDS, direct database access, or APEX-oriented workflows.
  3. Use [references/release-validation.md](references/release-validation.md) before calling the skill package ready to share publicly.

Bundled Resources

  • Run [scripts/derive_domain_context.sh](scripts/derive_domain_context.sh) to derive:
  • region
  • device host
  • data host
  • domain group OCID
  • short IDs used in later commands
  • Run [scripts/twin_tools.py](scripts/twin_tools.py) for:
  • last-known
  • offline
  • telemetry-template
  • Reuse [templates/model.temperature-sensor.template.json](templates/model.temperature-sensor.template.json), [templates/adapter.default.template.json](templates/adapter.default.template.json), [templates/instance.template.json](templates/instance.template.json), and [templates/publish-curl.template.sh](templates/publish-curl.template.sh) as neutral starting points.
  • Use [references/platform-surface.md](references/platform-surface.md) to explain how domains, domain groups, models, adapters, twins, relationships, work requests, raw commands, and data access fit together.
  • Use [references/resilience-guidance.md](references/resilience-guidance.md) to keep operator responses bounded, active-resource focused, and explicit about final-state evidence.
  • Use [references/mcp-optional-use.md](references/mcp-optional-use.md) to recognize optional OCI IoT MCP tool families, gateway-aware helper behavior, Data API wrappers, and safety rules.

Guardrails

  • Do not assume internal tenancy names, profiles, network access patterns, or private tooling.
  • Treat Oracle product docs and official samples as the source of truth for platform behavior.
  • Prefer read-only commands first and verify current state before recommending mutations.
  • When suggesting create, update, or delete operations, include a verification command immediately after the mutation.
  • Bound large reads with filters and --limit before using --all.
  • Treat asynchronous acceptance, including raw-command 202, as incomplete until final state is verified.
  • For digital twin instance creation, never use INDIRECT as a shortcut to avoid auth setup. Use INDIRECT only when the user explicitly asks for a gateway/downstream topology or provides a gateway routing requirement. Otherwise clarify connectivity or proceed with DIRECT when a publishing device is implied.
  • Keep MCP guidance optional. Do not make MCP installation or private MCP bootstrap part of the public workflow.
  • When MCP is already available, treat it as an accelerator for joined context, selector resolution, bounded pagination, gateway topology, Data API summaries, and polling; always be ready to fall back to CLI or SDK commands.
  • Treat device publishing auth modes separately:
  • vault-secret-backed basic auth
  • certificate-based mTLS
  • Do not imply OCI IoT is a general-purpose MQTT broker.
  • Keep examples redacted and tenant-neutral.

Authoritative References

  • Oracle IoT service docs:
  • https://docs.oracle.com/en-us/iaas/Content/internet-of-things/home.htm
  • OCI CLI IoT command reference:
  • https://docs.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/iot.html
  • Oracle sample repository:
  • https://github.com/oracle-samples/oci-iot-samples

Output Style

For each task, return:

  1. The exact command sequence with placeholders filled or called out.
  2. The key IDs, state, or timestamps that matter.
  3. The next verification step.

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。

它属于哪个仓库

星标★ 845
本站分层T2
该仓技能数14
原文件路径oci/iot-platform/SKILL.md

同一个仓库里的其他技能

看这个仓库的全部 14 个技能