Claude CodeからOpenAI Codex CLI(@openai/codex)とGoogle Gemini CLI(@google/gemini-cli)を呼び出し、複数AIの意見を収集・比較するためのskillsを作成します。
注意: OpenAI Codex CLIは2025年リリースの新しいツールであり、2023年に廃止された旧Codex APIとは別物です。
| #!/bin/sh | |
| GLOBAL_IP=` echo $SSH_CONNECTION|cut -f1 -d " "` | |
| HOST_NAME="sub.noter.jp" | |
| TTL="3600" | |
| echo $GLOBAL_IP|grep -E '^((([0-1]?[0-9]|2[0-4])?[0-9]|25[0-5])\.){3}(([0-1]?[0-9]|2[0-4])?[0-9]|25[0-5])$' > /dev/null | |
| if [ $? -eq 0 ];then | |
| echo " | |
| server 127.0.0.1 | |
| update delete $HOST_NAME |
| [ 295.280] | |
| X.Org X Server 1.15.0 | |
| Release Date: 2013-12-27 | |
| [ 295.280] X Protocol Version 11, Revision 0 | |
| [ 295.280] Build Operating System: Linux 3.12.5-1-ARCH i686 | |
| [ 295.280] Current Operating System: Linux bootstrap 3.12.8-1-ARCH #1 SMP PREEMPT Thu Jan 16 09:46:30 CET 2014 i686 | |
| [ 295.280] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=be3aec12-d413-4333-983a-8aa2b20eee61 rw quiet | |
| [ 295.281] Build Date: 09 January 2014 09:32:33AM | |
| [ 295.281] | |
| [ 295.281] Current version of pixman: 0.32.4 |
| diff -Narup unzip60.orig/zipinfo.c unzip60/zipinfo.c | |
| --- unzip60.orig/zipinfo.c 2009-02-09 02:04:30.000000000 +0900 | |
| +++ unzip60/zipinfo.c 2013-12-16 10:04:59.056161870 +0900 | |
| @@ -794,18 +794,26 @@ int zipinfo(__G) /* return PK-type err | |
| if (!G.process_all_files) { /* check if specified on command line */ | |
| unsigned i; | |
| - if (G.filespecs == 0) | |
| + if (G.filespecs == 0){ | |
| + printf("1\n"); |
| #compdef zip unzip zipinfo | |
| local suffixes suf zipfile uzi testfile | |
| local expl curcontext="$curcontext" state line ret=1 | |
| typeset -A opt_args | |
| case $service in | |
| zip) | |
| _arguments -C -s \ | |
| '-f[freshen: only changed files]' \ |
| #!/bin/sh | |
| FLAG_TIME='0' | |
| FLAG_START='0' | |
| PREV_VAL='-2' | |
| IFS=$'\n' | |
| for TMP1 in `wget -O - 'http://www.unicode.org/Public/UNIDATA/EastAsianWidth.txt'|grep ';A' 2>/dev/null`;do | |
| TMP2="${TMP1%%\#*}" | |
| TMP2="${TMP2%;A*}" | |
| echo "${TMP2}"|grep -v '\.\.' >/dev/null 2>&1 | |
| if [ "${?}" = '0' ];then |
| diff -Narup tmux-1.6.orig/tty-acs.c tmux-1.6/tty-acs.c | |
| --- tmux-1.6.orig/tty-acs.c 2012-10-15 00:13:51.729160450 +0900 | |
| +++ tmux-1.6/tty-acs.c 2012-10-15 00:35:51.770801087 +0900 | |
| @@ -41,21 +41,21 @@ const struct tty_acs_entry tty_acs_table | |
| { 'g', "\302\261" }, | |
| { 'h', "\342\226\222" }, | |
| { 'i', "\342\230\203" }, | |
| - { 'j', "\342\224\230" }, | |
| - { 'k', "\342\224\220" }, | |
| - { 'l', "\342\224\214" }, |
| diff -Narup tmux-1.7.orig/server.c tmux-1.7/server.c | |
| --- tmux-1.7.orig/server.c 2012-10-22 08:33:58.919711591 +0900 | |
| +++ tmux-1.7/server.c 2012-10-22 08:34:23.434132192 +0900 | |
| @@ -151,7 +151,6 @@ server_start(int lockfd, char *lockfile) | |
| ARRAY_INIT(&global_buffers); | |
| mode_key_init_trees(); | |
| key_bindings_init(); | |
| - utf8_build(); | |
| start_time = time(NULL); |
| diff -Narup tmux-1.7.orig/window-copy.c tmux-1.7/window-copy.c | |
| --- tmux-1.7.orig/window-copy.c 2012-10-17 06:43:34.108054101 +0900 | |
| +++ tmux-1.7/window-copy.c 2012-10-17 06:55:02.797455680 +0900 | |
| @@ -75,6 +75,7 @@ void window_copy_cursor_previous_word(st | |
| void window_copy_scroll_up(struct window_pane *, u_int); | |
| void window_copy_scroll_down(struct window_pane *, u_int); | |
| void window_copy_rectangle_toggle(struct window_pane *); | |
| +u_int window_copy_position_fix_x(struct window_pane *, u_int); | |
| const struct window_mode window_copy_mode = { |
| <U00A1> 2 | |
| <U00A4> 2 | |
| <U00A7>...<U00A8> 2 | |
| <U00AA> 2 | |
| <U00AD>...<U00AE> 2 | |
| <U00B0>...<U00B4> 2 | |
| <U00B6>...<U00BA> 2 | |
| <U00BC>...<U00BF> 2 | |
| <U00C6> 2 | |
| <U00D0> 2 |