refactor(agents): remove duplicate agent that already exists as skill#234
Open
mvanhorn wants to merge 3 commits intoEveryInc:mainfrom
Open
refactor(agents): remove duplicate agent that already exists as skill#234mvanhorn wants to merge 3 commits intoEveryInc:mainfrom
mvanhorn wants to merge 3 commits intoEveryInc:mainfrom
Conversation
Replace all hardcoded localhost:3000 references with dynamic port detection. The command now checks (in priority order): explicit --port argument, CLAUDE.md config, package.json scripts, .env files, then falls back to 3000. Closes EveryInc#164 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The every-style-editor agent file was a duplicate of the existing every-style-editor skill. Agent files are eagerly loaded into the Task tool definition on every API call (~100-200 tokens each), while skills are lazy-loaded only when invoked. Removing the duplicate saves tokens and eliminates potential runtime errors when the agent is invoked via Task tool instead of Skill tool. Changes: - Delete agents/workflow/every-style-editor.md (skill version in skills/every-style-editor/ already exists) - Update README.md workflow agent count from 5 to 4 - Update plugin.json agent counts from 29 to 28 Fixes EveryInc#156 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add Phase 0 context budget check that warns users when running /compound near context limits, and offers a compact-safe single-pass alternative that avoids launching 5 parallel subagents. Closes EveryInc#198 Co-Authored-By: Claude Opus 4.6 <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.
Summary
Fixes #156 - Agent files for skill-only components waste tokens and error on invocation.
agents/workflow/every-style-editor.md- this agent is a duplicate of the existingskills/every-style-editor/skill. The skill version is more comprehensive (structured 4-phase review process with reference files) while the agent version is a simpler copy.claude-pluginand.cursor-plugin)Why conservative scope
After reading each agent file and cross-referencing against existing skills:
every-style-editoris the only clear duplicate where both an agent file and a skill directory exist with the same name and overlapping purposeankane-readme-writer(agent) vsandrew-kane-gem-writer(skill) are related but cover different scopes (README writing vs gem code patterns) - not duplicatesdhh-rails-reviewer(agent) vsdhh-rails-style(skill) serve different purposes (code review persona vs code writing style guide) - not duplicatesToken savings
~100-200 tokens per session saved by removing 1 eagerly-loaded agent description from the Task tool definition. The
every-style-editoragent description was 64 lines.Test plan
every-style-editorskill still works via/every-style-editoror Skill tool invocationcompound.md- it lists the editor as a recommendation, not a direct Task invocation)Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com