me commited on
Commit ·
1c532ed
1
Parent(s): ee657be
Upload 8 files
Browse files- .github/workflows/csv_linter.yml +39 -0
- CNAME +1 -0
- CONTRIBUTING.md +42 -0
- LICENSE +121 -0
- README.md +1 -0
- _config.yml +2 -0
- _layouts/default.html +61 -0
- actions.csv +2 -0
.github/workflows/csv_linter.yml
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: CSV Linter and Trailing Whitespaces
|
| 2 |
+
|
| 3 |
+
on:
|
| 4 |
+
push:
|
| 5 |
+
pull_request:
|
| 6 |
+
|
| 7 |
+
jobs:
|
| 8 |
+
lint_and_check_trailing_whitespaces:
|
| 9 |
+
runs-on: ubuntu-latest
|
| 10 |
+
steps:
|
| 11 |
+
- uses: actions/checkout@v3
|
| 12 |
+
- name: Set up Python
|
| 13 |
+
uses: actions/setup-python@v2
|
| 14 |
+
with:
|
| 15 |
+
python-version: 3.8
|
| 16 |
+
- name: Install dependencies
|
| 17 |
+
run: |
|
| 18 |
+
python -m pip install csvkit
|
| 19 |
+
|
| 20 |
+
- name: Lint CSV files
|
| 21 |
+
run: find . -name "*.csv" -exec csvclean -n -u 2 {} +
|
| 22 |
+
env:
|
| 23 |
+
CI: true
|
| 24 |
+
- name: Check for errors
|
| 25 |
+
if: always()
|
| 26 |
+
run: |
|
| 27 |
+
if ! grep -q "No errors." <(find . -name "*.csv" -exec csvclean -n -u 2 {} + | grep -v "^$"); then
|
| 28 |
+
echo "Errors were found in one or more CSV files."
|
| 29 |
+
exit 1
|
| 30 |
+
fi
|
| 31 |
+
- name: Check Trailing Whitespaces
|
| 32 |
+
run: |
|
| 33 |
+
# Check if the special file contains any trailing whitespaces
|
| 34 |
+
if grep -q "[[:space:]]$" ./actions.csv; then
|
| 35 |
+
echo "ERROR: Found trailing whitespaces in actions.csv"
|
| 36 |
+
exit 1
|
| 37 |
+
else
|
| 38 |
+
echo "No trailing whitespaces found in actions.csv"
|
| 39 |
+
fi
|
CNAME
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
actions.chat
|
CONTRIBUTING.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Contribution Guidelines
|
| 2 |
+
Before contributing to this repository, please ensure you are adhering to the following general guidelines. Further, if you are submitting a new prompt to the repository, be sure you are also following the prompt-specific guidelines. These checks will ensure that your contributions can be easily integrated into the main repository, without any headache for the owners.
|
| 3 |
+
|
| 4 |
+
## General Guidelines
|
| 5 |
+
The following guidelines should be followed when making any open-source contributions:
|
| 6 |
+
- [ ] Contributions should be made via a pull request to the main repository from a personal fork.
|
| 7 |
+
- [ ] Pull requests should be accompanied by a descriptive title and detailed explanation.
|
| 8 |
+
- [ ] Submit all pull requests to the repository's main branch.
|
| 9 |
+
- [ ] Before submitting a pull request, ensure additions/edits are aligned with the overall repo organization.
|
| 10 |
+
- [ ] Be sure changes are compatible with the repository's license.
|
| 11 |
+
- [ ] In case of conflicts, provide helpful explanations regarding your proposed changes so that they can be approved by repo owners.
|
| 12 |
+
|
| 13 |
+
## New Prompt Guidelines
|
| 14 |
+
To add a new prompt to this repository, a contributor should take the following steps (in their personal fork):
|
| 15 |
+
1. Create and test the new prompt.
|
| 16 |
+
- See the [README](https://github.com/f/awesome-chatgpt-prompts/blob/main/README.md) for guidance on how to write effective prompts.
|
| 17 |
+
- Ensure prompts generate intended results and can be used by other users to replicate those results.
|
| 18 |
+
2. Add the prompt to `README.md` using the following markdown template:
|
| 19 |
+
|
| 20 |
+
`## Prompt Title`
|
| 21 |
+
|
| 22 |
+
`Contributed by: [@github_username](https://github.com/github_profile)`
|
| 23 |
+
|
| 24 |
+
`> prompt content`
|
| 25 |
+
|
| 26 |
+
- <b>Note:</b> If your prompt was generated by ChatGPT, append `<mark>Generated by ChatGPT</mark>` to the "Contributed by" line.
|
| 27 |
+
3. Add the prompt to `prompts.csv`.
|
| 28 |
+
- Put the prompt title in the `act` column, and the prompt itself in the `prompt` column.
|
| 29 |
+
4. Submit a pull request on the repository's main branch.
|
| 30 |
+
- If possible, provide some documentation of how you tested your prompt and the kinds of results you received.
|
| 31 |
+
- Be sure to include a detailed title and description.
|
| 32 |
+
|
| 33 |
+
### New Prompt Checklist:
|
| 34 |
+
- [ ] I've confirmed the prompt works well
|
| 35 |
+
- [ ] I've added `Contributed by: [@yourusername](https://github.com/yourusername)`
|
| 36 |
+
- [ ] I've added to the README.md
|
| 37 |
+
- [ ] I've added to the `prompts.csv`
|
| 38 |
+
- [ ] Escaped quotes by double-quoting them
|
| 39 |
+
- [ ] No spaces after commas after double quotes. e.g. `"act","prompt"` not `"act", "prompt"`
|
| 40 |
+
- [ ] Removed "Act as" from the title on CSV
|
| 41 |
+
|
| 42 |
+
Please ensure these requirements are met before submitting a pull request.
|
LICENSE
ADDED
|
@@ -0,0 +1,121 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Creative Commons Legal Code
|
| 2 |
+
|
| 3 |
+
CC0 1.0 Universal
|
| 4 |
+
|
| 5 |
+
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
|
| 6 |
+
LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
|
| 7 |
+
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
|
| 8 |
+
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
|
| 9 |
+
REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
|
| 10 |
+
PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
|
| 11 |
+
THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
|
| 12 |
+
HEREUNDER.
|
| 13 |
+
|
| 14 |
+
Statement of Purpose
|
| 15 |
+
|
| 16 |
+
The laws of most jurisdictions throughout the world automatically confer
|
| 17 |
+
exclusive Copyright and Related Rights (defined below) upon the creator
|
| 18 |
+
and subsequent owner(s) (each and all, an "owner") of an original work of
|
| 19 |
+
authorship and/or a database (each, a "Work").
|
| 20 |
+
|
| 21 |
+
Certain owners wish to permanently relinquish those rights to a Work for
|
| 22 |
+
the purpose of contributing to a commons of creative, cultural and
|
| 23 |
+
scientific works ("Commons") that the public can reliably and without fear
|
| 24 |
+
of later claims of infringement build upon, modify, incorporate in other
|
| 25 |
+
works, reuse and redistribute as freely as possible in any form whatsoever
|
| 26 |
+
and for any purposes, including without limitation commercial purposes.
|
| 27 |
+
These owners may contribute to the Commons to promote the ideal of a free
|
| 28 |
+
culture and the further production of creative, cultural and scientific
|
| 29 |
+
works, or to gain reputation or greater distribution for their Work in
|
| 30 |
+
part through the use and efforts of others.
|
| 31 |
+
|
| 32 |
+
For these and/or other purposes and motivations, and without any
|
| 33 |
+
expectation of additional consideration or compensation, the person
|
| 34 |
+
associating CC0 with a Work (the "Affirmer"), to the extent that he or she
|
| 35 |
+
is an owner of Copyright and Related Rights in the Work, voluntarily
|
| 36 |
+
elects to apply CC0 to the Work and publicly distribute the Work under its
|
| 37 |
+
terms, with knowledge of his or her Copyright and Related Rights in the
|
| 38 |
+
Work and the meaning and intended legal effect of CC0 on those rights.
|
| 39 |
+
|
| 40 |
+
1. Copyright and Related Rights. A Work made available under CC0 may be
|
| 41 |
+
protected by copyright and related or neighboring rights ("Copyright and
|
| 42 |
+
Related Rights"). Copyright and Related Rights include, but are not
|
| 43 |
+
limited to, the following:
|
| 44 |
+
|
| 45 |
+
i. the right to reproduce, adapt, distribute, perform, display,
|
| 46 |
+
communicate, and translate a Work;
|
| 47 |
+
ii. moral rights retained by the original author(s) and/or performer(s);
|
| 48 |
+
iii. publicity and privacy rights pertaining to a person's image or
|
| 49 |
+
likeness depicted in a Work;
|
| 50 |
+
iv. rights protecting against unfair competition in regards to a Work,
|
| 51 |
+
subject to the limitations in paragraph 4(a), below;
|
| 52 |
+
v. rights protecting the extraction, dissemination, use and reuse of data
|
| 53 |
+
in a Work;
|
| 54 |
+
vi. database rights (such as those arising under Directive 96/9/EC of the
|
| 55 |
+
European Parliament and of the Council of 11 March 1996 on the legal
|
| 56 |
+
protection of databases, and under any national implementation
|
| 57 |
+
thereof, including any amended or successor version of such
|
| 58 |
+
directive); and
|
| 59 |
+
vii. other similar, equivalent or corresponding rights throughout the
|
| 60 |
+
world based on applicable law or treaty, and any national
|
| 61 |
+
implementations thereof.
|
| 62 |
+
|
| 63 |
+
2. Waiver. To the greatest extent permitted by, but not in contravention
|
| 64 |
+
of, applicable law, Affirmer hereby overtly, fully, permanently,
|
| 65 |
+
irrevocably and unconditionally waives, abandons, and surrenders all of
|
| 66 |
+
Affirmer's Copyright and Related Rights and associated claims and causes
|
| 67 |
+
of action, whether now known or unknown (including existing as well as
|
| 68 |
+
future claims and causes of action), in the Work (i) in all territories
|
| 69 |
+
worldwide, (ii) for the maximum duration provided by applicable law or
|
| 70 |
+
treaty (including future time extensions), (iii) in any current or future
|
| 71 |
+
medium and for any number of copies, and (iv) for any purpose whatsoever,
|
| 72 |
+
including without limitation commercial, advertising or promotional
|
| 73 |
+
purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
|
| 74 |
+
member of the public at large and to the detriment of Affirmer's heirs and
|
| 75 |
+
successors, fully intending that such Waiver shall not be subject to
|
| 76 |
+
revocation, rescission, cancellation, termination, or any other legal or
|
| 77 |
+
equitable action to disrupt the quiet enjoyment of the Work by the public
|
| 78 |
+
as contemplated by Affirmer's express Statement of Purpose.
|
| 79 |
+
|
| 80 |
+
3. Public License Fallback. Should any part of the Waiver for any reason
|
| 81 |
+
be judged legally invalid or ineffective under applicable law, then the
|
| 82 |
+
Waiver shall be preserved to the maximum extent permitted taking into
|
| 83 |
+
account Affirmer's express Statement of Purpose. In addition, to the
|
| 84 |
+
extent the Waiver is so judged Affirmer hereby grants to each affected
|
| 85 |
+
person a royalty-free, non transferable, non sublicensable, non exclusive,
|
| 86 |
+
irrevocable and unconditional license to exercise Affirmer's Copyright and
|
| 87 |
+
Related Rights in the Work (i) in all territories worldwide, (ii) for the
|
| 88 |
+
maximum duration provided by applicable law or treaty (including future
|
| 89 |
+
time extensions), (iii) in any current or future medium and for any number
|
| 90 |
+
of copies, and (iv) for any purpose whatsoever, including without
|
| 91 |
+
limitation commercial, advertising or promotional purposes (the
|
| 92 |
+
"License"). The License shall be deemed effective as of the date CC0 was
|
| 93 |
+
applied by Affirmer to the Work. Should any part of the License for any
|
| 94 |
+
reason be judged legally invalid or ineffective under applicable law, such
|
| 95 |
+
partial invalidity or ineffectiveness shall not invalidate the remainder
|
| 96 |
+
of the License, and in such case Affirmer hereby affirms that he or she
|
| 97 |
+
will not (i) exercise any of his or her remaining Copyright and Related
|
| 98 |
+
Rights in the Work or (ii) assert any associated claims and causes of
|
| 99 |
+
action with respect to the Work, in either case contrary to Affirmer's
|
| 100 |
+
express Statement of Purpose.
|
| 101 |
+
|
| 102 |
+
4. Limitations and Disclaimers.
|
| 103 |
+
|
| 104 |
+
a. No trademark or patent rights held by Affirmer are waived, abandoned,
|
| 105 |
+
surrendered, licensed or otherwise affected by this document.
|
| 106 |
+
b. Affirmer offers the Work as-is and makes no representations or
|
| 107 |
+
warranties of any kind concerning the Work, express, implied,
|
| 108 |
+
statutory or otherwise, including without limitation warranties of
|
| 109 |
+
title, merchantability, fitness for a particular purpose, non
|
| 110 |
+
infringement, or the absence of latent or other defects, accuracy, or
|
| 111 |
+
the present or absence of errors, whether or not discoverable, all to
|
| 112 |
+
the greatest extent permissible under applicable law.
|
| 113 |
+
c. Affirmer disclaims responsibility for clearing rights of other persons
|
| 114 |
+
that may apply to the Work or any use thereof, including without
|
| 115 |
+
limitation any person's Copyright and Related Rights in the Work.
|
| 116 |
+
Further, Affirmer disclaims responsibility for obtaining any necessary
|
| 117 |
+
consents, permissions or other rights required for any use of the
|
| 118 |
+
Work.
|
| 119 |
+
d. Affirmer understands and acknowledges that Creative Commons is not a
|
| 120 |
+
party to this document and has no duty or obligation with respect to
|
| 121 |
+
this CC0 or use of the Work.
|
README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
# chatgpt.action
|
_config.yml
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: ChatGPT Actions
|
| 2 |
+
title: null
|
_layouts/default.html
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="{{ page.lang | default: site.lang | default: "en-US" }}">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
| 6 |
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
| 7 |
+
|
| 8 |
+
{% seo %}
|
| 9 |
+
<link rel="stylesheet" href="{{ "/assets/css/style.css?v=" | append: site.github.build_revision | relative_url }}">
|
| 10 |
+
{% include head-custom.html %}
|
| 11 |
+
</head>
|
| 12 |
+
<body>
|
| 13 |
+
<div class="container-lg px-3 my-5 markdown-body">
|
| 14 |
+
{% if site.title and site.title != page.title %}
|
| 15 |
+
<h1><a href="{{ "/" | absolute_url }}">{{ site.title }}</a></h1>
|
| 16 |
+
{% endif %}
|
| 17 |
+
|
| 18 |
+
{{ content }}
|
| 19 |
+
|
| 20 |
+
{% if site.github.private != true and site.github.license %}
|
| 21 |
+
<div class="footer border-top border-gray-light mt-5 pt-3 text-right text-gray">
|
| 22 |
+
ChatGPT Actions is open source. {% github_edit_link "Improve this page" %}.
|
| 23 |
+
</div>
|
| 24 |
+
{% endif %}
|
| 25 |
+
</div>
|
| 26 |
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js" integrity="sha256-lZaRhKri35AyJSypXXs4o6OPFTbTmUoltBbDCbdzegg=" crossorigin="anonymous"></script>
|
| 27 |
+
<script>anchors.add();</script>
|
| 28 |
+
<script>
|
| 29 |
+
document.querySelectorAll("h2[id^=act] + p + blockquote").forEach((x) => {
|
| 30 |
+
x.setAttribute('contentEditable', true);
|
| 31 |
+
const button = document.createElement('button');
|
| 32 |
+
button.style.border = '0';
|
| 33 |
+
button.style.borderRadius = '3px';
|
| 34 |
+
button.style.fontSize = '1rem';
|
| 35 |
+
button.style.marginRight = '0.5rem';
|
| 36 |
+
button.style.padding = '0';
|
| 37 |
+
button.style.backgroundColor = 'transparent';
|
| 38 |
+
button.innerHTML = '✂️';
|
| 39 |
+
button.addEventListener('click', async () => {
|
| 40 |
+
if (navigator.clipboard) {
|
| 41 |
+
await navigator.clipboard.writeText(x.innerText);
|
| 42 |
+
alert('Actions is copied, now paste this into ChatGPT.');
|
| 43 |
+
} else {
|
| 44 |
+
alert('Your browser does not support clipboard copy. Please select the prompt and copy.')
|
| 45 |
+
}
|
| 46 |
+
}, false);
|
| 47 |
+
x.previousElementSibling.previousElementSibling.prepend(button);
|
| 48 |
+
});
|
| 49 |
+
</script>
|
| 50 |
+
<style>video { max-width: 100% !important; }</style>
|
| 51 |
+
<!-- Google tag (gtag.js) -->
|
| 52 |
+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-MSNHFWTE77"></script>
|
| 53 |
+
<script>
|
| 54 |
+
window.dataLayer = window.dataLayer || [];
|
| 55 |
+
function gtag(){dataLayer.push(arguments);}
|
| 56 |
+
gtag('js', new Date());
|
| 57 |
+
|
| 58 |
+
gtag('config', 'G-MSNHFWTE77');
|
| 59 |
+
</script>
|
| 60 |
+
</body>
|
| 61 |
+
</html>
|
actions.csv
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"act","actions"
|
| 2 |
+
"actions/Linux Terminal","I want you to act as a linux terminal. I will type commands and you will reply with what the terminal should show. I want you to only reply with the terminal output inside one unique code block, and nothing else. do not write explanations. do not type commands unless I instruct you to do so. when i need to tell you something in english, i will do so by putting text inside curly brackets {like this}. my first command is pwd"
|