Skip to content

chore: disable document-skills plugin and surface oxfmt in business mode - #204

Merged
paveg merged 2 commits into
mainfrom
chore/toolchain-tweaks
Jul 24, 2026
Merged

paveg merged 2 commits into
mainfrom
chore/toolchain-tweaks

Conversation

@paveg

@paveg paveg commented Jul 24, 2026 •

Copy link
Copy Markdown
Owner

Summary

Two independent toolchain-config tweaks, one commit each.

Commit File Change
chore(claude) dot_claude/settings.json.tmpl Disable the document-skills@anthropic-agent-skills plugin (shared block → both modes)
chore(devbox) dot_local/share/devbox/global/default/devbox.json.tmpl Move oxfmt@latest from the personal-only block into the shared tail

Why

  • document-skills: no longer used; flipping it off trims the always-loaded plugin set in both business and personal modes.
  • oxfmt: repo-wide oxfmt adoption (chore(fmt): unwrap Markdown prose repo-wide and adopt oxfmt #201) placed the package inside the {{- if not .business_use }} block, so it was never installed on business machines even though the formatter runs across the whole repo. Moving it to the shared tail closes that gap.

Verification

Both templates were rendered under the current (business-mode) config and confirmed to be valid JSON; the render now lists oxfmt exactly once.

chezmoi execute-template < dot_claude/settings.json.tmpl | jq empty          # VALID
chezmoi execute-template < dot_local/.../devbox.json.tmpl | jq empty         # VALID
chezmoi execute-template < dot_local/.../devbox.json.tmpl | jq -r '.packages[]' | grep -c oxfmt   # 1

🤖 Generated with Claude Code

code-flow usage JSON
{
  "commits": [
    {
      "confidence": "best_effort",
      "model_totals": [
        {
          "cache_creation_ephemeral_1h_input_tokens": 266172,
          "cache_creation_input_tokens": 266172,
          "cache_read_input_tokens": 723346,
          "input_tokens": 12,
          "model": "claude-opus-4-8",
          "output_tokens": 7189,
          "total_context_tokens": 996719,
          "turns": 7
        }
      ],
      "participants": [
        {
          "attribution": "exact",
          "cache_creation_ephemeral_1h_input_tokens": 266172,
          "cache_creation_input_tokens": 266172,
          "cache_read_input_tokens": 723346,
          "input_tokens": 12,
          "kind": "main",
          "model": "claude-opus-4-8",
          "name": "main",
          "output_tokens": 7189,
          "total_context_tokens": 996719,
          "turns": 7
        }
      ],
      "recorded_at": "2026-07-24T02:24:53Z",
      "sha": "9ebaba23268db1034275aa43d50d130beb1d8c30",
      "subject": "chore(claude): disable document-skills plugin",
      "totals": {
        "cache_creation_ephemeral_1h_input_tokens": 266172,
        "cache_creation_input_tokens": 266172,
        "cache_read_input_tokens": 723346,
        "input_tokens": 12,
        "output_tokens": 7189,
        "total_context_tokens": 996719,
        "turns": 7
      }
    },
    {
      "confidence": "best_effort",
      "model_totals": [
        {
          "cache_creation_ephemeral_1h_input_tokens": 1381,
          "cache_creation_input_tokens": 1381,
          "cache_read_input_tokens": 298091,
          "input_tokens": 3,
          "model": "claude-opus-4-8",
          "output_tokens": 651,
          "total_context_tokens": 300126,
          "turns": 2
        }
      ],
      "participants": [
        {
          "attribution": "exact",
          "cache_creation_ephemeral_1h_input_tokens": 1381,
          "cache_creation_input_tokens": 1381,
          "cache_read_input_tokens": 298091,
          "input_tokens": 3,
          "kind": "main",
          "model": "claude-opus-4-8",
          "name": "main",
          "output_tokens": 651,
          "total_context_tokens": 300126,
          "turns": 2
        }
      ],
      "recorded_at": "2026-07-24T02:24:59Z",
      "sha": "75c9893e3dec56798fa89edb7952ca53d9cae6e0",
      "subject": "chore(devbox): make oxfmt available in business mode",
      "totals": {
        "cache_creation_ephemeral_1h_input_tokens": 1381,
        "cache_creation_input_tokens": 1381,
        "cache_read_input_tokens": 298091,
        "input_tokens": 3,
        "output_tokens": 651,
        "total_context_tokens": 300126,
        "turns": 2
      }
    },
    {
      "confidence": "best_effort",
      "model_totals": [
        {
          "cache_creation_ephemeral_1h_input_tokens": 154522,
          "cache_creation_input_tokens": 154522,
          "cache_read_input_tokens": 1300697,
          "input_tokens": 17,
          "model": "claude-fable-5",
          "output_tokens": 9732,
          "total_context_tokens": 1464968,
          "turns": 10
        }
      ],
      "participants": [
        {
          "attribution": "exact",
          "cache_creation_ephemeral_1h_input_tokens": 154522,
          "cache_creation_input_tokens": 154522,
          "cache_read_input_tokens": 1300697,
          "input_tokens": 17,
          "kind": "main",
          "model": "claude-fable-5",
          "name": "main",
          "output_tokens": 9732,
          "total_context_tokens": 1464968,
          "turns": 10
        }
      ],
      "recorded_at": "2026-07-24T06:45:36Z",
      "sha": "eac40303da05070b81b38585f133ec9104eee98f",
      "subject": "feat(claude): add pr-description skill",
      "totals": {
        "cache_creation_ephemeral_1h_input_tokens": 154522,
        "cache_creation_input_tokens": 154522,
        "cache_read_input_tokens": 1300697,
        "input_tokens": 17,
        "output_tokens": 9732,
        "total_context_tokens": 1464968,
        "turns": 10
      }
    }
  ],
  "confidence": "best_effort",
  "metered_commits": 3,
  "pr": {
    "base": "main",
    "head": "chore/toolchain-tweaks",
    "number": 204
  },
  "schema": "code-flow-usage/1",
  "scope": "current_branch_pr",
  "source": "claude_code_hooks",
  "total_commits": 3,
  "totals": {
    "cache_creation_ephemeral_1h_input_tokens": 422075,
    "cache_creation_input_tokens": 422075,
    "cache_read_input_tokens": 2322134,
    "input_tokens": 32,
    "output_tokens": 17572,
    "total_context_tokens": 2761813,
    "turns": 19
  },
  "totals_by_model": [
    {
      "cache_creation_ephemeral_1h_input_tokens": 154522,
      "cache_creation_input_tokens": 154522,
      "cache_read_input_tokens": 1300697,
      "input_tokens": 17,
      "model": "claude-fable-5",
      "output_tokens": 9732,
      "total_context_tokens": 1464968,
      "turns": 10
    },
    {
      "cache_creation_ephemeral_1h_input_tokens": 267553,
      "cache_creation_input_tokens": 267553,
      "cache_read_input_tokens": 1021437,
      "input_tokens": 15,
      "model": "claude-opus-4-8",
      "output_tokens": 7840,
      "total_context_tokens": 1296845,
      "turns": 9
    }
  ],
  "updated_at": "2026-07-24T06:45:54Z"
}

paveg and others added 2 commits July 24, 2026 11:24
Flip document-skills@anthropic-agent-skills from true to false in the
shared block, disabling it in both business and personal modes.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Move oxfmt@latest out of the personal-only (not .business_use) block
into the shared package tail. Repo-wide oxfmt adoption (#201) placed it
personal-only, so it was not installed on business machines despite the
formatter running across the repo. This closes that gap.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Jul 24, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 75c9893

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@paveg
paveg merged commit 6d58d01 into main Jul 24, 2026
10 checks passed
@paveg
paveg deleted the chore/toolchain-tweaks branch July 24, 2026 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant