Skip to content

zy839971925-zyy/Agent--deep-research-Workflow-Skills / skills/reasoning-workflow

reasoning-workflow

Verified

Default silent workflow for everyday questions, research, writing, design and engineering. Match effort to the request, resolve costly ambiguity, find specialist resources and verify the requested outcome. Explicitly selectable with “调用我的 workflow skills”.

FileKindSize
CHANGELOG.mdmarkdown10.2 KB
LICENSE.txtmarkdown1.0 KB
README.mdmarkdown3.0 KB
RELEASE.jsonconfig509 B
SHA256SUMSother17.9 KB
SKILL.mdskill md5.4 KB
TEST_REPORT.mdmarkdown11.4 KB
UPGRADE.mdmarkdown13.1 KB
agents/openai.yamlconfig386 B
assets/icon.svgother3.1 KB
docs/BUILD_SOURCE_COMPARISON.jsonconfig25.1 KB
docs/BUILD_SOURCE_COMPARISON_2.1.1.jsonconfig6.0 KB
docs/LEGACY_ENTRY.mdmarkdown17.2 KB
docs/MAIN_INTEGRATION.mdmarkdown3.3 KB
docs/PACKAGE_VALIDATION.jsonconfig412 B
docs/PACKAGE_VALIDATION_2.1_BASELINE.jsonconfig316 B
docs/PATCH_2.1.1.diffother48.3 KB
docs/RELEASE_2.1.1.zh-CN.mdmarkdown7.5 KB
docs/RELEASE_2.2.0.zh-CN.mdmarkdown3.7 KB
docs/RELEASE_3.0.0.zh-CN.mdmarkdown8.4 KB
docs/RELEASE_3.0.1.mdmarkdown824 B
docs/RELEASE_3.0.1.zh-CN.mdmarkdown699 B
docs/RELEASE_3.1.0.mdmarkdown770 B
docs/RELEASE_3.1.0.zh-CN.mdmarkdown808 B
docs/RELEASE_3.2.0.mdmarkdown3.2 KB
docs/TECHNICAL_ARCHITECTURE.mdmarkdown13.4 KB
docs/TECHNICAL_ARCHITECTURE.zh-CN.mdmarkdown11.8 KB
docs/TEST_REPORT_2.1_BASELINE.mdmarkdown4.6 KB
evals/cross_task_cases.jsonconfig21.7 KB
evals/fixtures/architecture-project/README.mdmarkdown598 B
evals/fixtures/architecture-project/src/export.pyscript251 B
evals/fixtures/architecture-project/src/storage.pyscript538 B
evals/fixtures/architecture-project/tests/test_storage.pyscript374 B
evals/fixtures/checkpoint-evidence-mismatch/archive/recommendation-v1.mdmarkdown429 B
evals/fixtures/checkpoint-evidence-mismatch/deliverables/recommendation.mdmarkdown521 B
evals/fixtures/checkpoint-evidence-mismatch/state/checkpoint.mdmarkdown1.1 KB
evals/fixtures/checkpoint-evidence-mismatch/verification/acceptance-review.jsonconfig1.1 KB
evals/fixtures/dependency-resume/completed/local-export-analysis.mdmarkdown412 B
evals/fixtures/dependency-resume/drafts/privacy-section.mdmarkdown144 B
evals/fixtures/dependency-resume/drafts/provider-sync.mdmarkdown196 B
evals/fixtures/dependency-resume/drafts/recovery-section.mdmarkdown158 B
evals/fixtures/dependency-resume/materials/provider-key-management-v2.mdmarkdown569 B
evals/fixtures/dependency-resume/state/checkpoint.mdmarkdown1.3 KB
evals/fixtures/dependency-resume/state/dependency-map.mdmarkdown671 B
evals/fixtures/long-horizon-workspace/archive/docs/sync-options.mdmarkdown247 B
evals/fixtures/long-horizon-workspace/notes/unrelated-ai-scheduler.mdmarkdown209 B
evals/fixtures/long-horizon-workspace/research/architecture/sync-options.mdmarkdown926 B
evals/fixtures/long-horizon-workspace/state/checkpoint.mdmarkdown1.2 KB
evals/fixtures/qualitative-interview-mixed-views.jsonconfig2.3 KB
evals/fixtures/root-cancellation-late-result/README.mdmarkdown249 B
evals/fixtures/root-cancellation-late-result/state/root.jsonconfig222 B
evals/fixtures/root-cancellation-late-result/worker/draft.mdmarkdown136 B
evals/fixtures/root-cancellation-late-result/worker/late-result.jsonconfig233 B
evals/fixtures/runtime-revision-mismatch/README.mdmarkdown417 B
evals/fixtures/runtime-revision-mismatch/artifacts/recommendation-draft.mdmarkdown280 B
evals/fixtures/runtime-revision-mismatch/state/checkpoint.jsonconfig878 B
evals/fixtures/runtime-revision-mismatch/state/current-environment.jsonconfig399 B
evals/fixtures/runtime-revision-mismatch/state/dependency-map.jsonconfig516 B
evals/fixtures/search-yield-control.jsonconfig2.1 KB
evals/v3-functional-scenarios.mdmarkdown34.5 KB
families/audit-verification.mdmarkdown1.1 KB
families/core-reasoning.mdmarkdown2.0 KB
families/decision-analysis.mdmarkdown698 B
families/deep-research.mdmarkdown2.2 KB
families/execution-control.mdmarkdown1.5 KB
families/workflow-learning.mdmarkdown500 B
meta/README.mdmarkdown26.7 KB
meta/README.zh-CN.mdmarkdown26.4 KB
references/change-governance-and-effectiveness.mdmarkdown12.0 KB
references/clarification-gate.mdmarkdown6.9 KB
references/comparative-synthesis.mdmarkdown3.2 KB
references/decision-and-recommendation.mdmarkdown6.6 KB
references/domain-patterns.mdmarkdown4.2 KB
references/engineering-delivery.mdmarkdown2.8 KB
references/evidence-and-provenance.mdmarkdown7.3 KB
references/formal-review-and-audit.mdmarkdown7.4 KB
references/harness-integration.mdmarkdown7.5 KB
references/harness-profiles.mdmarkdown11.8 KB
references/host-adapter.mdmarkdown11.8 KB
references/human-context-and-interpretation.mdmarkdown3.9 KB
references/hypotheses-and-bias-control.mdmarkdown6.2 KB
references/information-target-navigation.mdmarkdown7.4 KB
references/inquiry-and-research.mdmarkdown9.1 KB
references/measurement-and-operationalization.mdmarkdown3.1 KB
references/model-adaptation.mdmarkdown7.5 KB
references/multimodal-and-data.mdmarkdown3.4 KB
references/problem-framing-and-effort.mdmarkdown8.6 KB
references/reasoning-structure-and-decomposition.mdmarkdown5.5 KB
references/relationships-and-systems.mdmarkdown4.2 KB
references/research-modes-and-methods.mdmarkdown17.1 KB
references/research-to-report.mdmarkdown3.8 KB
references/retrieval-and-observation.mdmarkdown14.4 KB
references/runtime-and-delegation.mdmarkdown8.9 KB
references/semantic-state-contract.mdmarkdown5.7 KB
references/specialist-resources.mdmarkdown2.8 KB
references/state-model-and-invariants.mdmarkdown7.1 KB
references/synchronization-and-recovery.mdmarkdown9.6 KB
references/synthesis-execution-and-verification.mdmarkdown6.7 KB
references/task-strategies.mdmarkdown4.9 KB
references/time-scenarios-and-forecasting.mdmarkdown3.6 KB
references/traceability-and-integrity.mdmarkdown6.2 KB
references/ultra-research.mdmarkdown9.1 KB
references/worked-examples.mdmarkdown5.1 KB
references/workflow-learning-and-capa.mdmarkdown4.4 KB
references/writing-for-the-reader.mdmarkdown1.7 KB
routing-index.jsonconfig18.0 KB
schemas/capability-snapshot.schema.jsonconfig1.1 KB
schemas/checkpoint-manifest.schema.jsonconfig5.6 KB
schemas/delivery-manifest.schema.jsonconfig4.9 KB
schemas/dual-verification.schema.jsonconfig2.6 KB
schemas/edge-policy.jsonconfig3.8 KB
schemas/event.schema.jsonconfig1.9 KB
schemas/execution-node-state.schema.jsonconfig2.7 KB
schemas/execution-plan.schema.jsonconfig5.7 KB
schemas/execution-schedule.schema.jsonconfig3.7 KB
schemas/learning-record.schema.jsonconfig4.5 KB
schemas/raw-record.schema.jsonconfig3.3 KB
schemas/review-bundle.schema.jsonconfig1.6 KB
schemas/task-profile.schema.jsonconfig4.2 KB
schemas/work-state.schema.jsonconfig90.9 KB
schemas/worker-proposal.schema.jsonconfig3.1 KB
scripts/build_distribution.pyscript1.7 KB
scripts/check_report_evidence.pyscript3.6 KB
scripts/harness_bridge.pyscript9.2 KB
scripts/host_adapter.pyscript2.1 KB
scripts/learning_core.pyscript6.3 KB
scripts/prepare_task.pyscript2.6 KB
scripts/reference_core.pyscript1.4 KB
scripts/requirements.txtmanifest37 B
scripts/retrieve_learnings.pyscript1.6 KB
scripts/route_resources.pyscript4.1 KB
scripts/route_task.pyscript1.0 KB
scripts/routing_core.pyscript6.5 KB
scripts/runtime_core.pyscript36.4 KB
scripts/semantic_core.pyscript14.9 KB
scripts/validate_delivery.pyexecutablescript10.4 KB
scripts/validate_dual_verification.pyscript3.1 KB
scripts/validate_events.pyscript2.8 KB
scripts/validate_learning.pyscript718 B
scripts/validate_raw.pyscript3.0 KB
scripts/validate_runtime.pyexecutablescript2.5 KB
scripts/validate_state.pyexecutablescript3.3 KB
scripts/validate_workflow.pyscript9.0 KB
tests/audit_repro/adversarial_probes.pyscript6.9 KB
tests/audit_repro/original_2.1_observations.jsonconfig4.4 KB
tests/check_package.pyscript6.1 KB
tests/fixtures/R2-orthogonal-gap-missing-family_profile.jsonconfig464 B
tests/fixtures/R4-light-action-governance-reference-filter_profile.jsonconfig450 B
tests/fixtures/R4-light-high-consequence-reference-filter_profile.jsonconfig482 B
tests/fixtures/answer.txtmarkdown21 B
tests/fixtures/baseline_manifest.jsonconfig871 B
tests/fixtures/baseline_state.jsonconfig2.3 KB
tests/fixtures/causal-search-source-pack.jsonconfig4.9 KB
tests/fixtures/failed_review_record.jsonconfig498 B
tests/fixtures/hybrid_two_cycle_input.jsonconfig1.9 KB
tests/fixtures/learning_intrinsic_flag_false.jsonconfig692 B
tests/fixtures/legal_parallel_independent_input.jsonconfig1.9 KB
tests/fixtures/mixed_plan_schedule_cycle_input.jsonconfig1.9 KB
tests/fixtures/old_answer.txtmarkdown31 B
tests/fixtures/parallel_self_cycle_input.jsonconfig1.2 KB
tests/fixtures/parallel_two_cycle_input.jsonconfig1.9 KB
tests/fixtures/resume_safe_cancelled_input.jsonconfig2.1 KB
tests/fixtures/single_review_record.jsonconfig297 B
tests/fixtures/standard_profile.jsonconfig427 B
tests/fixtures/ultra_delegated_profile.jsonconfig469 B
tests/results/cli_receipts.jsonconfig28.3 KB
tests/results/cli_receipts_2_1_1.jsonconfig35.8 KB
tests/results/independent_tamper_recheck.jsonconfig373 B
tests/results/original_probes_after.jsonconfig7.3 KB
tests/results/regression_2_1_1.logother8.0 KB
tests/results/summary.jsonconfig239 B
tests/results/summary_2_1_1.jsonconfig306 B
tests/run_all.pyscript2.0 KB
tests/run_regression.pyscript38.6 KB
tests/test_2_1_1.pyscript12.0 KB
tests/test_3_2.pyscript4.1 KB
tests/test_harness_bridge_reconciliation.pyscript6.9 KB

tests/audit_repro/adversarial_probes.py

View on GitHub
from pathlib import Path
import sys,json,copy,importlib.util,tempfile,hashlib
HERE=Path(__file__).resolve().parent
import argparse
ap=argparse.ArgumentParser();ap.add_argument('--skill',type=Path,default=HERE/'new/Reasoning Workflow');ap.add_argument('--output',type=Path,default=HERE/'adversarial_results.json');args=ap.parse_args()
ROOT=args.skill.resolve();sys.path.insert(0,str(ROOT/'scripts'))
import runtime_core as rt
from routing_core import route_task,recheck_profile,validate_profile
from route_resources import select
from learning_core import admit_record,retrieve
from validate_workflow import fingerprint,validate_bridge
from validate_state import validate as state_valid
spec=importlib.util.spec_from_file_location('suite',ROOT/'tests/run_regression.py');suite=importlib.util.module_from_spec(spec);spec.loader.exec_module(suite)
FIX=ROOT/'tests/fixtures';load=lambda n:json.loads((FIX/n).read_text());err=lambda fs:[f.code for f in fs if f.severity=='ERROR']
results=[]
def log(id,expected,actual,**kw):
 results.append(dict(id=id,expected=expected,actual=actual,**kw))
# B1: forbid parallel, no display-group label
x=load('legal_parallel_independent_input.json')
for n in x['plan']['nodes']:
 n['parallel_policy']='forbidden';n['node_contract_hash']=rt.compute_node_contract_hash(n)
for a,n in zip(x['schedule']['assignments'],x['plan']['nodes']):a['node_contract_hash']=n['node_contract_hash']
log('B1_parallel_forbidden_without_group','validation refuses unsequenced parallel forbidden nodes',dict(plan_errors=err(rt.validate_plan(x['plan'],ROOT)),schedule_errors=err(rt.validate_schedule(x['plan'],x['schedule'],ROOT))))
for a in x['schedule']['assignments']:a['concurrency_group']='G'
log('C1_parallel_group_control','refuses same schedule with group',err(rt.validate_schedule(x['plan'],x['schedule'],ROOT)))
# B2: Ultra resources can remain permanently out of batch
p=load('standard_profile.json');p.update(requested_depth='ultra',task_modes=['research'],active_gap_tags=[]);p=recheck_profile(p,[]);r=route_task(p);index=json.loads((ROOT/'routing-index.json').read_text());selected=select(index,r,p,[])
log('B2_explicit_ultra_not_selected','Ultra method reachable on explicit Ultra even without extra tags',dict(profile_valid=validate_profile(p,ROOT),route=r,selected=[s['reference_id'] for s in selected],repeat_selected=[s['reference_id'] for s in select(index,r,p,[])]))
p['active_gap_tags']=['ultra'];selected=select(index,route_task(p),p,[])
log('C2_ultra_tag_control','ultra tag selects overlay',[s['reference_id'] for s in selected])
p['active_gap_tags']=['ultra','delegation','recovery','orthogonal-verification'];selected=select(index,route_task(p),p,[])
log('B2b_multi_gap_coverage','recovery control either selected or explicitly queued',[s['reference_id'] for s in selected])
# B3: tier3 required evidence not resolved
q=load('learning_intrinsic_flag_false.json');q.update(tier=3,status='promoted',source_eval_refs=['eval-good'],regression_refs=['missing-regression'],held_out_eval_refs=['missing-heldout'],baseline_comparison_ref='missing-baseline',dual_review_ref='missing-review',rollback_ref='missing-rollback');q['provenance']={'feedback_types':['deterministic_verifier'],'intrinsic_reflection_only':False}
seen=[]
def resolver(ref):seen.append(ref);return ref=='eval-good'
fs=admit_record(q,ROOT,resolver)
log('B3_tier3_unresolved_promotion_gates','must resolve required promotion evidence',dict(findings=fs,resolver_calls=seen.copy(),maintenance_retrieved=[x['learning_id'] for x in retrieve([q],['deep_research'],[],maintenance=True,validation_resolver=resolver)]))
import subprocess
with tempfile.TemporaryDirectory() as td:
 d=Path(td);(d/'receipt.txt').write_text('actual one external evaluation receipt')
 (d/'index.json').write_text(json.dumps({'eval-good':{'verdict':'pass','kind':'external_evaluation','path':'receipt.txt','sha256':hashlib.sha256((d/'receipt.txt').read_bytes()).hexdigest()}}))
 (d/'record.json').write_text(json.dumps(q))
 proc=subprocess.run([sys.executable,str(ROOT/'scripts/validate_learning.py'),str(d/'record.json'),'--validation-evidence',str(d/'index.json')],capture_output=True,text=True)
 log('B3_cli_promotion_gate','missing tier3 gate references rejected even if source eval is real',dict(exit_code=proc.returncode,stdout=json.loads(proc.stdout)))
log('C3_ordinary_tier3_control','tier3 excluded from ordinary retrieval',[x['learning_id'] for x in retrieve([q],['deep_research'],[],validation_resolver=resolver)])
# B4: strict review fingerprint omits relationship endpoint payload
case=suite.Regression();case.setUp()
try:
 p,r,s,m,b=case.bridge()
 s['observations']=[{'id':'o1','record_type':'observation','declared_status':'current','text':'critical original observation'}]
 s['relationships']=[{'id':'rel1','record_type':'relationship','declared_status':'current','relation_type':'causes','epistemic_status':'inferred','from_ref':'o1','to_ref':'e1'}]
 s['answers'][0]['depends_on'].append('rel1')
 fs,reg,closure=state_valid(s,ROOT)
 log('B4_fixture_schema_check','valid fixture',dict(errors=err(fs),closure=closure))
 for entry in b['reviews']:
  entry['target_fingerprint']=fingerprint(s,entry['target_refs'])
  for v in s['verification']:
   if v['id']==entry['record']['verification_id']:v['metadata']['target_fingerprint']=entry['target_fingerprint']
 before=validate_bridge(p,r,s,m,b,case.d)
 oldfp=fingerprint(s,['a1']);s['observations'][0]['text']='opposite critical observation, not reviewed'
 after=validate_bridge(p,r,s,m,b,case.d)
 log('B4_singular_endpoint_fingerprint','source endpoint change invalidates old target review',dict(before=before,after=after,fingerprint_unchanged=oldfp==fingerprint(s,['a1'])))
 oldfp=fingerprint(s,['a1']);s['evidence'][0]['text']='direct evidence changed'
 log('C4_direct_evidence_control','direct evidence mutation invalidates review',dict(fingerprint_changed=oldfp!=fingerprint(s,['a1']),bridge_passed=validate_bridge(p,r,s,m,b,case.d)['passed']))
 # B5: Question lane required acceptance incomplete
 p,r,s,m,b=case.bridge()
 s['requirements'][0]['closure_effect']='blocking';s['acceptance_criteria'][0]['closure_effect']='blocking'
 s['requirements'][0]['declared_status']='blocked';m['requirements'][0]['declared_status']='blocked'
 s['acceptance_criteria'][0]['declared_status']='blocked';m['acceptance_criteria'][0]['declared_status']='blocked'
 fs,result=__import__('validate_delivery').validate(s,m,case.d)
 out=validate_bridge(p,r,s,m,b,case.d)
 log('B5_question_requirements_blocked','material blocking explicit requirements prevent delivery',dict(delivery_errors=err(fs),delivery_ready=result['computed_delivery_ready'],bridge=out))
 s['lane']='mixed'
 fs,result=__import__('validate_delivery').validate(s,m,case.d)
 log('C5_mixed_lane_control','same obligations block mixed lane',dict(errors=err(fs),delivery_ready=result['computed_delivery_ready']))
finally:case.tearDown()
args.output.write_text(json.dumps(results,ensure_ascii=False,indent=2))
print(json.dumps(results,ensure_ascii=False,indent=2))
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 323kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 198kUpdated Claude CodeCodexVerifiedInstall