Agent skill
test-task-dynamic-id
Test if we can dynamically set CLAUDE_CODE_TASK_LIST_ID
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/test-task-dynamic-id
SKILL.md
Test: Dynamic Task List ID Setting
Objective: Can we change CLAUDE_CODE_TASK_LIST_ID dynamically within a skill?
Instructions
- Check current CLAUDE_CODE_TASK_LIST_ID
- List current tasks (baseline)
- Try to set CLAUDE_CODE_TASK_LIST_ID via export
- Create a task AFTER setting the env var
- Check if task goes to new list or same list
- Write results
Output
Write to: earnings-analysis/test-outputs/task-dynamic-id-result.txt
Execute these exact steps:
# Step 1: Check current env
echo "BEFORE: CLAUDE_CODE_TASK_LIST_ID=$CLAUDE_CODE_TASK_LIST_ID"
# Step 2: Set new ID
export CLAUDE_CODE_TASK_LIST_ID="dynamic-test-list"
# Step 3: Verify it's set in bash
echo "AFTER EXPORT: CLAUDE_CODE_TASK_LIST_ID=$CLAUDE_CODE_TASK_LIST_ID"
Then use TaskList to see current tasks. Then use TaskCreate to create: "DYNAMIC_ID_TEST_TASK" Then use TaskList again.
Report:
- Did the env var change affect which task list is used?
- Can tasks be isolated by dynamically setting the ID?
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?