Sync the quartr skill with the CLI's new behaviour - #15
Merged
Conversation
The skill is what agents read at runtime, and the stack changed enough that parts of it were actively misleading. Recipe 3 told the reader to run `reports list --sort-by date`, which now exits 2. Recipe 9's `document-types list | grep 8-K` was searching a silently truncated page. Updated across SKILL.md, references/commands.md and references/recipes.md: - sorting: events-only, exit 2 elsewhere, and what to do instead - ticker collisions: `companies resolve`, EXCHANGE:TICKER, no name search - `--expand company` as a client-side join, and why attribution matters - downloads: `--output -`, status line on stderr - lookup tables return whole catalogs, so grepping them is trustworthy - 403 is entitlement and 401 is auth; stop debugging the key on a 403 - exit codes, including what a 2 means and that retrying will not help Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Top of the stack, on #14. Docs only — no Go changes.
The
.claude/skills/quartr/skill is what an agent reads at runtime instead of re-deriving usage from source, so leaving it stale would undo much of the stack's value. Two entries were not merely out of date but actively wrong after these changes:reports list --tickers AAPL --type-ids 11 --sort-by date --direction desc --limit 1. That now exits 2. It has been rewritten to pull with--alland sort locally, with a note that the newest filing is often absent from a short page.document-types list --format csv | grep -i "8-k"— a grep over a silently truncated 10-row page. That grep is trustworthy now that the catalog comes back whole, and the file says so.Also updated across
SKILL.md,references/commands.md, andreferences/recipes.md:companies resolve,EXCHANGE:TICKER, and an explicit "there is no name search" so nobody tries--expand companyas a client-side join, and why unattributed rows hide collisions--output -, status line on stderrThe known-collision list (
ACA,BLD,CE,WM,COST,TEL,AVNT) from #5 is recorded in the recipes file so it survives outside the issue tracker.🤖 Generated with Claude Code