360 Secure SkillHub
360 安全技能中心

traceway-write

该 Skill 通过 Traceway 写入 CLI 或已连接的写入 MCP 服务,修改告警、SLO、值班路由、个人通知、仪表盘和 SDK 采集配置,并执行事件响应及共享或嵌入仪表盘;写入需要凭证和组织授权。

分类:自动化
tracewayapp
热度 0.66
最近更新 2026-12-05 11:46:45

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add tracewayapp/traceway/traceway-write
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
traceway-write
description
Configure Traceway alerting, SLOs, on-call routing, personal notifications, dashboards and browser and mobile SDK collection, issue shared dashboard links and embed dashboards in another application, or perform incident actions through the write CLI or MCP server. Use when the user asks to change Traceway configuration or operational state, or to share or embed a dashboard. Requires a write credential and organization Agent Access.

Write to Traceway

Use the connected write MCP server when available, otherwise traceway-write. Every read command also exists in the write CLI. For investigation use the read skill; for product explanations use traceway-learn. Load only the reference needed for the requested change.

Area Read this reference What can change
Setup write-setup.md Install, authenticate and understand permissions
Alerting alert-configuration.md Channels, delivery tests and project alert rules
SLOs slo-configuration.md Service level objectives: create, preview, change, pause and delete, plus their burn-rate alerts
On-call routing oncall-configuration.md Teams, ownership, schedules, overrides and escalation policies
Personal delivery personal-notifications.md Own contact methods and high/low urgency notification chains
Incident response incident-actions.md Archive issues, acknowledge/resolve pages, snooze rules, run monitors, write post-mortems, mark expected latency
Dashboards dashboard-building.md Discover recorded metrics and build useful charts from instrumentation
Sharing and embedding dashboard-embedding.md Issue an expiring read-only dashboard link, and add an embedded dashboard to the user's own application
RUM rum.md Browser metrics, release alerts, frontend SLO semantics and dashboard-only capabilities
Browser and mobile collection sdk-configuration.md OpAMP rules, sampling, sessions, replay, and recording triggers (CSS selectors in a browser; widget, view and Compose selectors and screen names in Flutter, Android and iOS; recorded tap selectors in React Native)

How the concepts interact

Instrumentation supplies telemetry. Dashboards visualize it; project alert rules watch it and send to a channel. An SLO measures the share of good events against a target; it alerts only through the burn-rate and budget rules that reference it. An ordinary channel delivers directly. An escalation channel opens a page using an organization escalation policy. Policy steps target schedules (one on-call person), teams (all members), individual users or ordinary channels. A schedule's layers rotate responders; overrides temporarily replace them. Each responder's personal contact methods and urgency chain decide how to reach them. Acknowledging the page stops escalation and queued personal deliveries; resolving it allows a new page for the same condition. Changing a policy affects future pages, not an already-open page's policy snapshot.

Operating with write access

Use a write credential and an organization whose admin enabled Agent Access. Project writes require the caller's project write role; organization configuration requires owner/admin. Any member can create schedule overrides; deleting one requires its creator, covering user or an admin. Personal contacts and notification chains belong only to the authenticated person. Acknowledging and resolving pages need project read access, but agent calls still need a write credential and the organization opt-in.

Only make changes the user requested. Inspect the current configuration, preserve unrelated settings, state the intended change, then apply it. Existing authorization covers the requested work; do not repeatedly ask for permission. In noninteractive CLI calls use --yes. Testing a channel or contact sends a real notification; testing an escalation channel opens a real page. Do not test delivery merely to verify that configuration saved.

When to ask before you change something

Ask first, and wait for the answer, when any of these is true:

  • The request describes its target and the description fits more than one thing. "The disk alert", "the login errors", "the page from last night" can each match several rules, issues or pages. When the matches are not all alike, the user decides which ones they meant.
  • What you found does not match what the user said. They called something stale and it is still happening. They said one rule is noisy and two are firing. The request rested on a belief that turned out wrong, so the decision goes back to them.
  • The change reaches further than the request. A rule or dashboard that other projects share, a delete that removes other things with it, an option that also changes a second object.
  • One command does not undo it. A delete, or anything that sends a message or opens a page.
  • The change says a problem is over. Resolving a page, archiving an issue as fixed, closing an incident. Say what you checked and what it showed, and make the change once the user agrees.
  • You wrote what is being saved. A post-mortem, an incident update, any text other people will read as the team's account. Show the draft itself, not a path to it: the person answering may not be able to open your files. Save what the user agreed to.

Do not ask when the target is named exactly (an id, a hash, a full name), its state is what the user described, and none of the above applies: acknowledge that page, snooze that rule, mark that endpoint. Do not ask what a read command can tell you. A question is never about whether you are allowed. It is about which change the user meant, whether your reading of the situation is right, or whether the text says what they want.

Working out the likely answer yourself does not replace the question while someone can answer it. Being fairly sure which two of three the user meant is the moment to ask, with your answer as the proposal.

Put the finding in the question, so one word answers it: "Two rules match 'the disk alert': Disk > 90% (db hosts) fired six times today, Disk > 80% (all hosts) has not fired this week. Snooze the first for an hour and leave the second?"

Ask the way the session offers: the user in a conversation, the operator command an unattended task gives you. Only when nobody can be asked, make the part of the change that fits every reading, leave the rest alone, and report what you left with the command that would finish it.

Read back the result and report the effect and any remaining verification. One read that shows the new state is the verification: do not repeat the investigation after the change. A 403 is a policy decision: explain whether the credential, organization opt-in or caller role blocked it; do not bypass it. Agent writes are audited. Treat channel/contact configuration as sensitive: do not echo tokens or webhook URLs into summaries.

Read the relevant resource before configuring an area:

  • traceway://knowledge/write-setup: installation, login and permission layers.
  • traceway://knowledge/alert-configuration: channels and project alert rules.
  • traceway://knowledge/slo-configuration: service level objectives and their burn-rate alerts.
  • traceway://knowledge/oncall-configuration: teams, schedules, overrides and escalation policies.
  • traceway://knowledge/personal-notifications: own contacts and high/low urgency notification chains.
  • traceway://knowledge/incident-actions: pages, issues, monitor runs, post-mortems and expected latency.
  • traceway://knowledge/dashboard-building: dashboard charts and instrumentation discovery.
  • traceway://knowledge/dashboard-embedding: shared dashboard links and embedding a dashboard in the user's own application.
  • traceway://knowledge/sdk-configuration: browser, Flutter, iOS, Android and React Native collection, replay, OpAMP rules, and recording triggers (CSS selectors in a browser, widget, view and Compose selectors and screen names in the apps).

For product behavior and tradeoffs use traceway://knowledge/learn/alerts, traceway://knowledge/learn/on-call and the other learn resources.