Skip to content

Refactor skill package into a compact router with modular DWS references#4

Merged
jdrhyne merged 3 commits intomainfrom
codex/nutrient-skill-router
Mar 14, 2026
Merged

Refactor skill package into a compact router with modular DWS references#4
jdrhyne merged 3 commits intomainfrom
codex/nutrient-skill-router

Conversation

@jdrhyne
Copy link
Contributor

@jdrhyne jdrhyne commented Mar 14, 2026

What

This PR reshapes the Nutrient agent skill into a more Codex-friendly package and expands the documented DWS surface area without bloating the top-level skill.

Main changes

  • align package structure with current Codex and OpenAI skill conventions
  • add agents/openai.yaml
  • rename LICENSE to LICENSE.txt
  • add an in-skill icon asset
  • turn nutrient-document-processing/SKILL.md into a compact router skill
  • split the old monolithic reference into focused docs
  • add missing capability coverage for PDF generation, remote URL inputs, PDF/A, PDF/UA, optimization, and linearization
  • update the repo README so the public capability list matches the actual skill surface

Why

The previous skill worked, but it had two problems:

  1. SKILL.md was acting as a long tutorial instead of a compact operator guide.
  2. Important DWS capabilities like generation, PDF/A, PDF/UA, and optimization were not surfaced clearly.

This PR keeps the one-umbrella-skill model, but uses progressive disclosure:

  • short top-level skill for discovery and routing
  • deeper topic docs only when needed

That should improve both agent usability and token efficiency.

Validation

  • verified agents/openai.yaml parses successfully
  • checked the new skill file tree and link targets
  • confirmed the top-level SKILL.md is compact and the detailed material lives in references/

Notes

This PR is documentation and package-structure only. It does not change the underlying DWS API or MCP server behavior.

jdrhyne added 2 commits March 14, 2026 15:40
Align the skill package with Codex-style packaging and turn the top-level skill into a compact router. Split the old monolithic reference into focused DWS cookbooks and add explicit coverage for generation, PDF/A, PDF/UA, optimization, and linearization so the skill stays broad without bloating invocation cost.
Document the merge, split, rotate, flatten, and page-range workflows that the top-level skill already advertises. Add setup assumptions and anti-pattern guidance to the router, and keep the README plus Codex metadata aligned with the broader document-processing surface.
@jdrhyne
Copy link
Contributor Author

jdrhyne commented Mar 14, 2026

Follow-up pass pushed in f6449b8.

Addressed a real coverage gap in the package by documenting the PDF assembly and page-ops workflows that the top-level skill already advertised: merge, split, page ranges, rotation, and flattening. I also tightened the router with setup assumptions and anti-pattern guidance, then aligned the README and agents/openai.yaml metadata with that broader scope.

Resolve the PR conflict by adopting the Python plugin structure merged in #3 while preserving the broader document-processing guidance, modular references, Codex metadata, and expanded capability coverage from this branch. Add a lightweight validation workflow so packaging drift and unresolved markers are caught automatically in future PRs.
@jdrhyne jdrhyne merged commit 2011d6b into main Mar 14, 2026
2 checks passed
@jdrhyne jdrhyne deleted the codex/nutrient-skill-router branch March 14, 2026 20:31
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