Repository navigation
feat(skills): install the clickup-tickets skill for ClickUp ticket work - #6
Merged
demy00 merged 4 commits intoOct 1, 2026
Merged
Conversation
Install the clickup-tickets skill from the firstmate-clickup add-on (szobonyaerik/firstmate-clickup@8994f1e) so firstmate can read and update ClickUp tickets through the pinned cup CLI. - Copy the skill verbatim, adding only user-invocable: false and metadata.internal: true to match sibling internal skills. - Register its load trigger in AGENTS.md section 13, gated on config/clickup.json being present. - Document the private config/clickup.json in docs/configuration.md and the AGENTS.md section 2 layout, and classify the skill in the documentation audience inventory. - Keep the installer's config/clickup.json .gitignore line so re-running the installer stays a no-op. Add-on commit installed from: szobonyaerik/firstmate-clickup@8994f1e cup: @krodak/clickup-cli 1.46.1 installed globally with npm (nvm node v22.22.3 prefix); `cup --version` -> 1.46.1. No profile created. Conflicts between the add-on rules and AGENTS.md (rules left unchanged): - "Spawn a Haiku helper" for bulk reads and the session-start look is a model-specific native subagent, outside AGENTS.md section 4 dispatch (fm-spawn, verified harnesses, dispatch profiles); non-Claude primaries have no Haiku. - "Ask the owner 'ticket or local only?'" on every new firstmate-filed work adds an owner question where AGENTS.md section 9 asks only for review, approval, merge, or design pick. - The one ClickUp look at session start is a network read outside bin/fm-session-start.sh and its deferred network stage (section 3). - "Every ticket assigned to the owner is in scope" is broader than the requested scope (only OwnDivision and Theovya); only the config project map narrows it. - "Tell the owner" in a secondmate home must go through the parent channel (section 9); the rules do not say so. Noticed: - This Claude environment has a claude.ai ClickUp MCP connector attached, which the skill forbids using. - config/clickup.example.json seeds personal and life entries not wanted yet; the local config/clickup.json must be trimmed to the team profile and the OwnDivision/Theovya projects. - cup lives in the active nvm Node's global prefix; switching Node versions hides it. - .gitignore already ignored config/, so the installer's config/clickup.json line is redundant but kept so re-running the installer is a no-op. Skills used: firstmate-coding-guidelines.
… into feature/fm-clickup-install-c1 # Conflicts: # AGENTS.md
…n start Skill descriptions are now the always-loaded trigger index, so the add-on's verbatim "Use at session start" would load the skill and its live ClickUp read at startup. Change only the frontmatter description to match the trigger-index entry; the rules body stays verbatim. The same change is suggested upstream to the firstmate-clickup add-on.
demy00
changed the base branch from
main
to
feature/lavish-read-list-format
September 30, 2026 21:06
demy00
added a commit
that referenced
this pull request
Oct 16, 2026
## Conflict resolutions The trial merge listed 13 conflicted files; the actual merge also conflicts in `tests/fm-procevent.test.sh` (14 total). | File | Fork origin | Resolution | | --- | --- | --- | | `.agents/skills/agent-skill-trigger-index/SKILL.md` | 09efd59 (#6, clickup-tickets) | Fork's `clickup-tickets` trigger line re-added to upstream's list unchanged. | | `AGENTS.md` | 3843b2c (#8, skill selection); 89e1459 (#3, `feature/` prefix) | Fork's `fm-skill-select.sh --apply` line and the `feature/` default wording re-applied on upstream's new section 7 text (upstream added `--base-branch` and self-repo consent lines next to it; both kept). | | `README.md` | 89e1459 (#3), via earlier fork syncs | Default ship-branch prefix wording stays `feature/` in upstream's rewritten bullet. | | `bin/fm-captain-hold.sh` | 999f9d8 (#1, done-archive evidence) | Fork's done-archive lookup re-applied unchanged on upstream's version. | | `bin/fm-dod-lib.sh` | 89e1459 (#3), 16cc4bd | Upstream's new base-branch/forge/consent code kept; its two `fm/$id` defaults now call `fm_task_branch` and the lib sources `fm-task-branch-lib.sh`, as the fork did before. | | `bin/fm-procevent-lavish.sh` | 826e32b, 79d101b, d0ac8f4, cbfb295 (#7) | True clash, decided by the captain (option A) - see below. | | `bin/fm-spawn.sh` | 89e1459 (#3), 16cc4bd, b7edc11, 153f4e2, de04c2d | Fork's `feature/` branch naming and legacy-brief branch binding re-applied unchanged on upstream's version. | | `bin/fm-timeout-lib.sh` | 9e8b923 (bash without `BASHPID`) | Upstream fixed the same macOS bash 3.2 bug independently (5838f10, kunchenguid#6028, perl watchdog takes the pre-exec parent). Took upstream's code; the fork's regression test for it is kept and passes on upstream's fix. | | `docs/architecture.md` | 89e1459 (#3) | `feature/` default and the `fm-task-branch-lib.sh` ownership line re-applied. | | `tests/fm-brief.test.sh` | 89e1459 (#3), via earlier fork syncs | Expected branch names stay `feature/<id>` in upstream's updated cases. | | `tests/fm-calm-pi-extension.test.sh` | bc3f178 (#10), 1757302 (#8 CI fix) | Upstream fixed the `/reload` geometry flake its own way (`wait_for_geometry_reload` on a durable status row), so the fork's `pipe-pane` version is dropped. Kept the fork's lookup-counting export renderer, the report-based Chrome hang attempt check, and the `tuiMode: regular` settings pin next to upstream's `--tui-mode regular` flag. | | `tests/fm-procevent.test.sh` | #7 | Both test sets kept; see the Lavish decision. | | `tests/fm-review-diff.test.sh` | 89e1459 (#3) | Fork's two unrecorded-`feature/` branch cases re-added; case letters shifted after upstream's new cases. | | `tests/fm-timeout-lib.test.sh` | 9e8b923 | Fork's no-`BASHPID` test kept on top of upstream's tests. | ## Decision: Lavish list-form parser (captain chose option A) Both sides fixed the same bug: Lavish emits queued feedback as a TOON list (not a table) when items carry nested content, and the adapter read it as an empty, complete result. - Fork (#7): one parser that flattens and presents every nested field (table-cell `target:`, `attachments:`, other `fields:`, message uid/selector/text), adds `unpresented_items:`, and refuses `complete: yes` when nested content cannot be parsed. - Upstream (fc8972c, kunchenguid#5404): one parser that skips nested targets and attachments; its tests assert nested content is absent from `read`. It also adds stricter refusals (unrecognized header keeps its declared count and counts as malformed; `answers`/`reconciles` exit 3 when not fully accounted for), and 228b27d renames the message count to `captain_message_count`. Options: - **A (chosen):** keep the fork's presenting parser, port upstream's strictness onto it (declared count + malformed on an unrecognized header, `answers`/`reconciles` exit 3, `captain_message_count`), keep both test sets, and adapt upstream's three "absent" assertions to check nested content appears only under its own labelled section and never replaces the item's own text. Cost: this region will likely conflict again on the next upstream sync. - **B:** take upstream's parser and tests wholesale and drop the fork's nested presentation. Cost: Lavish reads lose table-cell location, text-selection range, and image attachment paths.
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.
Intent
Erik created https://github.com/szobonyaerik/firstmate-clickup so the team can work together and stay in sync: a ClickUp integration so firstmate can see ClickUp tasks and interact with ClickUp. Install it with a PR into our firstmate repo. Workspaces: only the team one Erik uses; a personal workspace is not needed now and will be set up later. Projects: only OwnDivision and Theovya, but everything related to those. npm is fine for installing the tool. Start it now, before the firstmate upstream catch-up and the Lavish fix have landed.
What Changed
clickup-ticketsinternal skill, copied fromszobonyaerik/firstmate-clickup@8994f1e. It lets firstmate read and update ClickUp tickets through the pinnedcupCLI (@krodak/clickup-cli1.46.1). It covers workspace and profile rules, the status map, and limits on team-workspace writes.config/clickup.json. The skill loads the first time ClickUp work comes up, never at session start, so startup stays offline. The privateconfig/clickup.jsonis added to.gitignore, documented indocs/configuration.mdand the AGENTS.md layout, and classified indocs/documentation-audiences.json.feature/fm-upstream-syncbranch (upstream kunchenguid/firstmate catch-up) and thefeature/lavish-read-list-formatfix (Lavish results in list shape are read so queued comments are not lost). This branch also updatestests/fm-fleet-ledger.test.shto use the fork'sfeature/<task-id>worker branch naming.🤖 Generated with Claude Code
Risk Assessment
✅ Low: The ClickUp change is small and additive (one internal skill, docs, config ignore, trigger entries), and the merge moved it correctly into the new trigger-index and home-layout skills; the only open question is whether the branch should carry the merged upstream and Lavish branches.
Testing
Checks run: - The targeted doc-audience, gitignore and harness-reference tests. - The doc-audience checker. - An end-to-end check: the pinned npmcup1.46.1 installs and provides every subcommand the skill uses. -config/clickup.jsonstays gitignored. - The installed skill matches the add-on except for the intended frontmatter and trigger changes. - Re-running the add-on installer against a temporary copy of the fork. Everything passed. The only note is informational: re-running the installer reverts the fork's SKILL.md frontmatter tweaks. No UI is involved, so the evidence is CLI transcripts.Evidence: cup npm install + gitignore transcript
Source: cup npm install + gitignore transcript
Evidence: Skill cup subcommands vs pinned cup 1.46.1
Source: Skill cup subcommands vs pinned cup 1.46.1
Evidence: Installed SKILL.md vs upstream add-on diff
Source: Installed SKILL.md vs upstream add-on diff
Evidence: Add-on installer re-run against this branch
Source: Add-on installer re-run against this branch
Notes
Stacked for sequential merge: #5 (upstream catch-up) -> #4 (Lavish fix) -> #6 (this PR); the base is
feature/lavish-read-list-format, so the diff is the ClickUp change only.Add-on commit installed from: szobonyaerik/firstmate-clickup@8994f1e3ed9ae85f84c169811c70dcdaf092acfc.
@krodak/clickup-cli1.46.1 was installed globally with npm; nocupprofile, token, or ClickUp data was created, and no real ClickUp ids are committed.Deviation from the add-on text
user-invocable: falseandmetadata.internal: truefrontmatter.Conflicts between the add-on rules and AGENTS.md (rule text left verbatim, accepted as-is)
Upstream suggestions for the add-on
assignedreads and change detection to the projects mapped inconfig/clickup.json, so tickets from other team projects are not surfaced.Noticed
config/clickup.example.jsonseeds personal and life entries not wanted yet; the localconfig/clickup.jsonshould hold only the team profile and the OwnDivision and Theovya projects.cuplives in the active nvm Node's global prefix; switching Node versions hides it..gitignorealready ignoredconfig/, so the installer'sconfig/clickup.jsonline is redundant but kept so re-running the installer is a no-op.Skills used: firstmate-coding-guidelines, no-mistakes.
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
AGENTS.md:1- The intent says "Start it now, before the firstmate upstream catch-up and the Lavish fix have landed". That means the ClickUp install should not wait for those two branches. But merge f042672 pulls origin/feature/lavish-read-list-format, which already contains origin/feature/fm-upstream-sync, into this branch. As a result, the diff from 89e1459 to 3dbd8d8 has 350 files and about 54k added lines. The ClickUp work itself is only 5 small commits (the skill, a .gitignore line, the trigger entry, the config docs, and the audience entry). The resulting PR would ship the upstream catch-up and the Lavish fix with it, and could not merge on its own. The merge was probably done to resolve the AGENTS.md trigger-index move: the upstream sync moved skill triggers into the agent-skill-trigger-index skill and the layout into the operational-home-layout skill. Confirm the captain wants this PR stacked on those branches. The alternative is to rebase the ClickUp commits onto main as an independent PR..agents/skills/clickup-tickets/SKILL.md:3- Re-running the add-on's install.sh, as the captain would do when syncing with Erik's repo, overwrites SKILL.md with the upstream copy. That brings back 'Use at session start' in the description and dropsuser-invocable: false/metadata.internal: true. The doc-audience checks still pass afterwards. The AGENTS.md / trigger-index entry, which is what actually decides when the skill loads, is unaffected. The .gitignore line was kept so a re-run leaves no changes, but a re-run still changes this file. Transcript: installer-rerun.txt. Consider upstreaming the frontmatter change to firstmate-clickup.bash tests/fm-documentation-audiences.test.shbash tests/fm-gitignore-config.test.shbash tests/fm-harness-adapter-references.test.shbash bin/fm-doc-audience-check.shgit check-ignore -v config/clickup.jsonplus creating a throwaway config/clickup.json and confirminggit status --porcelainstays cleannpm view @krodak/[email protected]andnpx -y @krodak/[email protected] --version/--help(pinned cup installs via npm and runs)Checked everycup <subcommand>mentioned in SKILL.md against the pinned CLI's --help (all 21 exist)Diffed the installed SKILL.md against the upstream szobonyaerik/firstmate-clickup skill/clickup-tickets/SKILL.mdRan the add-on install.sh against a temporary copy of this branch (stub cup on PATH, no global npm install), then re-ran the doc-audience test and check✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.