Skip to content

LeoYeAI/agent-master-skills / skills/agi-evolution-model-basic

agi-evolution-model

Verified

基于双环架构的AGI进化模型,通过意向性分析、人格层映射和元认知检测实现持续自我演进;当用户需要智能对话、人格定制或复杂问题求解时使用

FileKindSize
SKILL.mdskill md21.9 KB
_meta.jsonconfig307 B
assets/personality_template.jsonconfig4.1 KB
references/architecture.mdmarkdown50.0 KB
references/c_extension_usage.mdmarkdown3.0 KB
references/capability_boundaries.mdmarkdown4.5 KB
references/cognitive-architecture-insight-module.mdmarkdown11.9 KB
references/cognitive-insight-quick-reference.mdmarkdown7.0 KB
references/cognitive-insight-v2-implementation.mdmarkdown32.7 KB
references/information-flow-main-loop.mdmarkdown20.4 KB
references/information-flow-overview.mdmarkdown12.4 KB
references/information-flow-secondary-loop.mdmarkdown20.4 KB
references/init_dialogue_optimized_guide.mdmarkdown11.1 KB
references/intentionality_architecture.mdmarkdown16.2 KB
references/maslow_needs.mdmarkdown4.4 KB
references/metacognition-check-component.mdmarkdown30.2 KB
references/metacognition-enhancement-guide.mdmarkdown12.6 KB
references/personality_mapping.mdmarkdown5.6 KB
references/stratified-storage-design.mdmarkdown10.6 KB
references/tool_use_spec.mdmarkdown56.3 KB
scripts/advice_pool.pyscript14.9 KB
scripts/cognitive_insight.pyscript20.9 KB
scripts/cognitive_insight_backup.pyscript25.2 KB
scripts/cognitive_insight_help.pyscript12.1 KB
scripts/concept_extraction_extension.pyscript25.3 KB
scripts/data_lifecycle_manager.pyscript13.4 KB
scripts/history_manager.pyscript7.4 KB
scripts/init_dialogue_optimized.pyscript16.4 KB
scripts/intentionality_analyzer.pyscript12.8 KB
scripts/intentionality_classifier.pyscript13.8 KB
scripts/intentionality_collector.pyscript9.7 KB
scripts/intentionality_regulator.pyscript15.1 KB
scripts/intentionality_trigger.pyscript19.9 KB
scripts/learning_stage_tracker.pyscript7.9 KB
scripts/memory_store_pure.pyscript12.0 KB
scripts/metacognition_history.pyscript16.3 KB
scripts/objectivity_evaluator.pyscript16.4 KB
scripts/perception_node.pyscript26.9 KB
scripts/personality_core_pure.pyscript4.4 KB
scripts/personality_customizer.pyscript24.0 KB
scripts/personality_layer_pure.pyscript32.2 KB
scripts/show_help.pyscript4.7 KB
scripts/strategy_selector.pyscript15.5 KB
scripts/test_metacognition_integration.pyscript9.4 KB
scripts/test_perception_node.pyscript9.2 KB
scripts/transcendence_keeper.pyscript11.7 KB

scripts/show_help.py

View on GitHub
#!/usr/bin/env python3
"""
认知架构洞察组件 V2 帮助查看器(精简版)
专注于快速查询
"""

import sys
import os

# 添加 scripts 目录到路径
sys.path.insert(0, os.path.dirname(__file__))

from cognitive_insight_help import CognitiveInsightHelp, show_help


def print_menu():
    """打印菜单"""
    print("=" * 80)
    print("认知架构洞察组件 V2 帮助查看器")
    print("=" * 80)
    print()
    print("请选择操作:")
    print("  1. 查看完整帮助")
    print("  2. 查看 API 参考")
    print("  3. 查看常见问题 (FAQ)")
    print("  4. 查看故障排查")
    print("  5. 查看版本信息")
    print("  0. 退出")
    print()


def show_api_reference(helper: CognitiveInsightHelp):
    """显示 API 参考"""
    print("\n" + "=" * 80)
    print("API 参考")
    print("=" * 80 + "\n")
    
    api_ref = helper.get_help()['api_reference']
    
    for class_name, class_info in api_ref.items():
        print(f"【{class_name}】")
        print()
        
        if '描述' in class_info:
            print(f"  {class_info['描述']}")
            print()
        
        if '初始化' in class_info:
            print("  初始化:")
            init_info = class_info['初始化']
            print(f"    方法: {init_info['方法']}")
            print(f"    参数:")
            for param, desc in init_info['参数'].items():
                print(f"      {param}: {desc}")
            print(f"    返回: {init_info['返回']}")
            print()
        
        if '核心方法' in class_info:
            print("  核心方法:")
            for method_info in class_info['核心方法']:
                print(f"    方法: {method_info['方法']}")
                print(f"    描述: {method_info['描述']}")
                if '参数' in method_info:
                    print(f"    参数:")
                    for param, desc in method_info['参数'].items():
                        print(f"      {param}: {desc}")
                if '返回' in method_info:
                    print(f"    返回: {method_info['返回']}")
                print()
        
        print()
    
    input("\n按 Enter 键返回菜单...")


def show_faq(helper: CognitiveInsightHelp):
    """显示常见问题"""
    print("\n" + "=" * 80)
    print("常见问题 (FAQ)")
    print("=" * 80 + "\n")
    
    faq = helper.get_help()['faq']
    
    for item in faq:
        print(item['问题'])
        print(item['回答'])
        print()
    
    input("\n按 Enter 键返回菜单...")


def show_troubleshooting(helper: CognitiveInsightHelp):
    """显示故障排查"""
    print("\n" + "=" * 80)
    print("故障排查")
    print("=" * 80 + "\n")
    
    troubleshooting = helper.get_help()['troubleshooting']
    
    for idx, issue in enumerate(troubleshooting['常见问题'], 1):
        print(f"{idx}. {issue['问题']}")
        print()
        print("  可能原因:")
        for cause in issue['可能原因']:
            print(f"    • {cause}")
        print()
        print("  解决方案:")
        for solution in issue['解决方案']:
            print(f"    • {solution}")
        print()
        print("-" * 80)
        print()
    
    input("\n按 Enter 键返回菜单...")


def show_version_info(helper: CognitiveInsightHelp):
    """显示版本信息"""
    print("\n" + "=" * 80)
    print("版本信息")
    print("=" * 80 + "\n")
    
    help_data = helper.get_help()
    
    print(f"版本: {help_data['version']}")
    print(f"作者: {help_data['author']}")
    print(f"协议: {help_data['license']}")
    print()
    print(help_data['description'])
    
    input("\n按 Enter 键返回菜单...")


def main():
    """主函数"""
    helper = CognitiveInsightHelp()
    
    while True:
        print_menu()
        
        choice = input("请输入选项 (0-5): ").strip()
        
        if choice == '0':
            print("\n感谢使用认知架构洞察组件 V2 帮助查看器!")
            break
        elif choice == '1':
            helper.print_help()
            input("\n按 Enter 键返回菜单...")
        elif choice == '2':
            show_api_reference(helper)
        elif choice == '3':
            show_faq(helper)
        elif choice == '4':
            show_troubleshooting(helper)
        elif choice == '5':
            show_version_info(helper)
        else:
            print("\n无效选项,请重新输入!")
            input("\n按 Enter 键继续...")


if __name__ == "__main__":
    try:
        main()
    except KeyboardInterrupt:
        print("\n\n感谢使用认知架构洞察组件 V2 帮助查看器!")
    except Exception as e:
        print(f"\n发生错误: {e}")
        sys.exit(1)
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall