Skip to content

Add cws-btfhub-sync skill - #54297

Open
danielmercier wants to merge 1 commit into
mainfrom
daniel.mercier/skill-cws-btfhub-sync
Open

Add cws-btfhub-sync skill#54297
danielmercier wants to merge 1 commit into
mainfrom
daniel.mercier/skill-cws-btfhub-sync

Conversation

@danielmercier

Copy link
Copy Markdown
Contributor

Skill file documenting how to trigger the cws-btfhub-sync workflow and land its output after adding a new constantfetch offset.

Covers the two things that are easy to get wrong: --ref main + base_branch=<feature-branch> (otherwise the generator never sees the new offset requests and the sync yields an empty diff), and polling the ~15-job matrix from a background shell instead of gh run watch.

Docs only, no code change.

🤖 Generated with Claude Code

@danielmercier danielmercier added changelog/no-changelog No changelog entry needed qa/no-code-change No code change in Agent code requiring validation labels Jul 31, 2026
@danielmercier
danielmercier requested a review from a team as a code owner July 31, 2026 12:04
@danielmercier danielmercier added the qa/no-code-change No code change in Agent code requiring validation label Jul 31, 2026
@dd-octo-sts dd-octo-sts Bot added internal Identify a non-fork PR team/agent-devx labels Jul 31, 2026
@github-actions github-actions Bot added the short review PR is simple enough to be reviewed quickly label Jul 31, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 88f38d9f0a

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines +1 to +5
---
name: cws-btfhub-sync
description: Sync CWS BTFHub constants after adding a new constantfetch offset, so pre-BTF kernels can resolve it. Use when KMT secagent jobs log "failed to fetch constant for <name>".
allowed-tools: Read, Grep, Bash, AskUserQuestion
model: sonnet

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Add the missing skill contract details

Scores: Description 20/25, Writing philosophy 18/25, Structure/progressive disclosure 23/25, Output/examples 12/25, total 73/100; overall recommendation: Approve with suggestions. Top improvements: declare an owning team in the skill metadata/body, since every AI artifact needs an owner; add prerequisites and an explicit success checklist/output shape, such as authenticated gh, current branch pushed, generated PR found, constants file changed, and source PR closed; make the wait example actually background-safe or include how to capture the run id, because the current copied command still runs a foreground polling loop despite warning against foreground waits.

Useful? React with 👍 / 👎.

@danielmercier
danielmercier force-pushed the daniel.mercier/skill-cws-btfhub-sync branch from 88f38d9 to 31cda9b Compare July 31, 2026 12:07
@dd-octo-sts

dd-octo-sts Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Files inventory check summary

File checks results against ancestor 5fcb9f95:

Results for datadog-agent_7.84.0~devel.git.223.52010cd.pipeline.131271312-1_amd64.deb:

No change detected

Results for datadog-iot-agent_7.84.0~devel.git.223.52010cd.pipeline.131271312-1_amd64.deb:

No change detected

@danielmercier
danielmercier force-pushed the daniel.mercier/skill-cws-btfhub-sync branch from 31cda9b to 540bb5e Compare July 31, 2026 14:51
@dd-octo-sts

dd-octo-sts Bot commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

This pull request has been automatically marked as stale because it has not had activity in the past 15 days.

It will be closed in 30 days if no further activity occurs. If this pull request is still relevant, adding a comment or pushing new commits will keep it open. Also, you can always reopen the pull request if you missed the window.

Thank you for your contributions!

@dd-octo-sts dd-octo-sts Bot added the stale label Aug 15, 2026
Documents how to regenerate the CWS BTFHub constants after adding a new
constantfetch offset, so pre-BTF kernels can resolve it.
@danielmercier
danielmercier force-pushed the daniel.mercier/skill-cws-btfhub-sync branch from 540bb5e to 52010cd Compare August 17, 2026 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/no-changelog No changelog entry needed internal Identify a non-fork PR qa/no-code-change No code change in Agent code requiring validation short review PR is simple enough to be reviewed quickly stale team/agent-devx team/agent-security

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants